To collect the contents of a text file with graylog

Hello
I have a script that throws its outputs to a text file.
He writes his output incrementally.
How can I do to send the contents of this file to graylog, since it is a simple file and not a log?

You can send the messages line-by-line to Graylog by using a log shipper such as Filebeat, Logstash, or NXLOG.

Also take a look at the Graylog Collector Sidecar to help with configuring one of these log shippers.
http://docs.graylog.org/en/2.4/pages/collector_sidecar.html

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.