Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It blows my mind that there isn't an easily Googable example of how to pipe JSON logs on disk to logstash. It's 2019. The software should be able to come online, check what logs it has already indexed, and then `tail -f` files matching a pattern. I really thought this was a more common use case but it's obvious things went the "directly log to socket" route you mentioned.


filebeat is one tool that does that, watching logs and piping to logstash.


I believe you can skip logstash now and have filebeat go directly to your elastic search indexer.

This simplified the ELK stack setup a whole bunch.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: