To collect the contents of a text file with graylog


(Andre ) #1

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?


(Jochen) #2

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


(system) #3

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