Closed kvch closed 3 years ago
@kvch You might want to take a look at https://github.com/logstash-plugins/logstash-filter-aggregate for inspiration.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Pinging @elastic/integrations-services (Team:Services)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The existing multiline filter is able to aggregate multiple lines which are coming continusly. The following example gets forwarded as two events with the appriopiate configuration:
However, Filebeat is not able to aggregate messages which are not comming immediately after the starting line. Example:
A new option should be added to the multiline filter which lets the user define a patterns to aggregate such lines named
demultiplex
. A user could provide a regex pattern which contains the value to be aggregated.The expected message is the following after applying the filter: