You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get logstash to post to a specific topic (routing key) and a specific payload.
Topic works fine, no problem.
But the payload starts with "2017-07-06T18:30:44.559Z %{host}......."
I've tried mutate and replace message field with the value, and that's what comes after {host} in the above example. Is there a way to remove the timestamp and host variable and only have a single field in the payload?
I assume I'm doing something wrong, but I can't find an answer with my google-fu. :\
The text was updated successfully, but these errors were encountered:
I know that it is a bit old thread but i got there while searching for how to format logstash output in rabbitmq output plugin. To get only message value in payload you have to add format option to the codec as shown in the example below.
Hi.
I'm trying to get logstash to post to a specific topic (routing key) and a specific payload.
Topic works fine, no problem.
But the payload starts with "2017-07-06T18:30:44.559Z %{host}......."
I've tried mutate and replace message field with the value, and that's what comes after {host} in the above example. Is there a way to remove the timestamp and host variable and only have a single field in the payload?
I assume I'm doing something wrong, but I can't find an answer with my google-fu. :\
The text was updated successfully, but these errors were encountered: