I am writing a graylog pipeline and have decided to use grok to extract fields.
The pipeline will run if a certain field exists. However a lot of messages have this field and the grok pattern only matches a portion of the messages.
My question is: If the grok pattern does not match the message then what happens ? does the message get dropped ? Or does nothing happen to that message ?
Thanks Jan,
So this will make it so that even if the pipeline does not match then they will still be routed to the stream ? I guess I will need to modify my pipeline attachments to relevant streams then, they are currently all attached to all messages. Guessing this is not best practice…
If you are trying out the basics its ok. But if you want to build a growing environment, you should definitely sort your streams and pipeline connections