I am using the telegraf logparser input to a /var/log/xxx.log file from rsyslog; new lines are intermittently tailed into the influxdb and often extremely delayed to be put into the database. Any tips or recommendations to debug why there is such a delay inserting into the database? It can take multiple minutes and this is the only input plugin running for the system.
Try temporarily running Telegraf with
--debug or with a “file” output to observe when items are sent to the database.