News for hackers. Stuff that matters.
Re:Ask HN: How do you handle logging? by MuffinFlavored on Wednesday August 28, 2019 @11:58PM (#20826558)
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.
Re:Ask HN: How do you handle logging? by stevekemp on Thursday August 29, 2019 @02:08AM (#20827079)
filebeat is one tool that does that, watching logs and piping to logstash.
Re:Ask HN: How do you handle logging? by spoonfoe on Friday August 30, 2019 @10:20AM (#20838846)
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.