Debugging or print statements in tick scripts


Is there anyway we can print our variables result and validate our tick scripts efficiently just like other scripting languages?
And also any other debugging tools for tick script apart from digraph flow info?


If you are using the TICK script editor in Chronograf, you can do a split-pane window with the TICK script in one side and the log output in another, which makes debugging somewhat easier. The Chronograf TICK Script editor will also validate your script every time you save it, so you know it’s right.

There aren’t the equivalent of print() statements in TICK, but most elements have a |log() element that you can call to output log information – which is handy in the Chronograf TICK script editor as well.


1 Like

Thanks for the quick and prompt reply.