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
In #24223 I introduced a new add_data_stream_index processor that provides a very clean way for handling data stream configs and data stream index formatting. Today that's only used for Heartbeat, but as @urso pointed out a similar strategy would make sense for the other beats as well, probably leveraging some of the same utilities.
The basic idea is to centralize two bits of logic:
DataStream configs (which exist at both the input and the stream level)
The index name generation
The processor above handles the index name generation (and allows individual events to override the dataset via metadata). The first bit of logic, merging the dual data_stream declarations, is handled in a bespoke way for heartbeat, but could probably be centralized with a helper function after applying it to one other beat to find the commonalities.
This issue exists to track this unification effort.
The below list tracks implementation across the following beats:
Filebeat
Packetbeat
Metricbeat
APM Server
The text was updated successfully, but these errors were encountered:
Hi!
We just realized that we haven't looked into this issue in a while. We're sorry!
We're labeling this issue as Stale to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1.
Thank you for your contribution!
In #24223 I introduced a new
add_data_stream_index
processor that provides a very clean way for handling data stream configs and data stream index formatting. Today that's only used for Heartbeat, but as @urso pointed out a similar strategy would make sense for the other beats as well, probably leveraging some of the same utilities.The basic idea is to centralize two bits of logic:
The processor above handles the index name generation (and allows individual events to override the dataset via metadata). The first bit of logic, merging the dual
data_stream
declarations, is handled in a bespoke way for heartbeat, but could probably be centralized with a helper function after applying it to one other beat to find the commonalities.This issue exists to track this unification effort.
The below list tracks implementation across the following beats:
The text was updated successfully, but these errors were encountered: