Use filebeat or logstash to open gzip files

I may need too much here, and I think it is not implemented yet, but I have the ELK stack setup (almost identical), as this tutorial does: ( https://www.digitalocean.com/community/tutorials/ how-to-install-elasticsearch-logstash-and-kibana-elk-stack-on-ubuntu-14-04 ) So basically I have a file setup on the client computer and it sends all the log files to a folder on logstash on the server.

What I want to do is to have gzip files (with text files in them) and text files in a directory, and be able to send them to logstash using filebeat. So I need filebeat to send an unziped file or logstash to be able to look in the gzip file and get the text file inside it.
I browsed the web, and it doesn't seem to be implemented yet, but most of what I found was with a log forwarder and logstash, not a file bit, so I just hope there is a file bit way.

Maybe I just hope too much. If you do not know the way to do this, I would also like to know.

+4
source share

Source: https://habr.com/ru/post/1622990/


All Articles