So I'm sure this should be easy, but I thought I'd run it by here first. The plan is to send the contents of a json formatted file to a remote logstash instance listening on a udp or tcp port. Has anyone done this before? Thank you.
Logstash isn't terribly good at reading whole files and shipping them as single events (though it's often doable with a multiline codec) but apart from that it would be very simple.
Thanks Magnus...blissfully this won't be a whole file It will be written to over time. Guessing I can just use the codec json and see how that goes.
You'll probably want to use json_lines, but yes.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.