Debugging Telegraf

I am trying to add LogParser to my Telegraf.

But it is failing to restart when I configure LogParser. Is there any kind of debugging command by which I can see that where and why it is failing ?

It sounds like you are probably starting Telegraf as a daemon, have you checked the log files?

yeah logs are there, but like for a particular plugin if we could check.

No, unfortunately we don’t have support for this yet. If Telegraf is refusing to start, the error should be at the end of the log file, otherwise you will have to use grep. Also keep in mind that logparser does not normally log if a line does not match the pattern.

i have problem too
but it work when use telegraf --debug is parse my log file help for solve this problem