Reputation: 1
i am planning to prepare the one pipeline for different logs formatting.
i tried to follow the
filter
{
codec = json
source = "message"
}
but when i am trying to filter the .log format logstash is not going filter those except plain text.
Upvotes: 0
Views: 455
Reputation: 23
The best way is to separate the different log types to different logstash pipelines, in this way you have more control on filtering.
Here you can find the documentation on creating multiple pipelines: https://www.elastic.co/guide/en/logstash/current/multiple-pipelines.html
Upvotes: 0