Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenSearch Output: Logs in default index don't contain original index #691

Open
ppcad opened this issue Oct 30, 2024 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@ppcad
Copy link
Collaborator

ppcad commented Oct 30, 2024

Logs that are written into the default index using the OpenSearch Output do not contain their original target index, since the original index field must be overwritten to write the logs into the default index.
It would be useful for debugging if the original index was written into an additional field (e.g. original_index) analogous to the field reason.

@ppcad ppcad added the enhancement New feature or request label Oct 30, 2024
@ekneg54
Copy link
Collaborator

ekneg54 commented Nov 1, 2024

As we use opensearch datastreams to ensure the indizis are rotated if they grow upon a specific level we use the default_Index option in another way. For us it is the name of the datastream to write the logs to like the name of a kafka topic. We dont have to set the index during processing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants