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
Follow up from #7101. With elastic/beats@84bf434, libbeat introduced a safeguard check before ingesting data to ES. It adds the IsAlias() function to the IndexSelector Interface, enabling the output handler to require an alias instead of an index when ingesting data.
The APM Server currently always returns false for the IsAlias() check for two reasons.
The check for IsAlias is not straight forward when returning the autoSelector. A fist pass on this can be found in 5111d3e. This implementation does not yet handle whether an alias of index is set in the meta information.
When ILM is enabled, APM Server still needs to write to indices for sourcemaps and onboarding. Therefore the newly introduced check cannot simply be leveraged by APM at this point.
Investigate how this check can be leveraged for general event ingestion, while still allowing to send sourcemap and onboarding data to indices.
The text was updated successfully, but these errors were encountered:
Turns out that managing the meta information in the event is not only a problem for apm, but also for the original beats implementation. This is now handled in the output implementation https://github.com/elastic/beats/pull/30055/files.
This should reduce the issues to handling onboarding and sourcemaps events. Mayb we can leverage the meta field and just always overwrite the meta.index for these events before shipping them.
Follow up from #7101. With elastic/beats@84bf434, libbeat introduced a safeguard check before ingesting data to ES. It adds the
IsAlias()
function to theIndexSelector
Interface, enabling the output handler to require analias
instead of anindex
when ingesting data.The APM Server currently always returns
false
for theIsAlias()
check for two reasons.IsAlias
is not straight forward when returning theautoSelector
. A fist pass on this can be found in 5111d3e. This implementation does not yet handle whether analias
ofindex
is set in themeta
information.Investigate how this check can be leveraged for general event ingestion, while still allowing to send sourcemap and onboarding data to indices.
The text was updated successfully, but these errors were encountered: