Often it is handy to watch log files as new contents are appended:
tail -f <logfile>
I’d like to be able to to something similar in InfluxDB. Is there any way in InfluxDB to watch the database updates as they arrive?
Often it is handy to watch log files as new contents are appended:
tail -f <logfile>
I’d like to be able to to something similar in InfluxDB. Is there any way in InfluxDB to watch the database updates as they arrive?
@andyl You can watch the http
requests as they come in in the InfluxDB log:
journalctl -u influxdb -f
OR
tail -f /var/log/influxdb/influxdb.log
If you are looking to stream the values then you would want to stream a copy of the incoming data to another program. You can do this with the SUBSCRIPTION
feature in the database.
The logs are noisy - SUBSCRIPTION is closer to what I had in mind - thanks for the tip.