To collect the contents of a text file with graylog

(Andre ) #1

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.

(system) #3

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