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

Add copy fields feat to output splunk plugin #668

Merged
merged 4 commits into from
Sep 9, 2024

Conversation

HeadHunter483
Copy link
Collaborator

Description

This pr adds "copy_fields" param to the output splunk plugin. It is a map of strings to strings. Keys and values are json paths, keys are paths in the original event, values are paths in the output json. This feature allows copying data from the original event to the additional meta data provided for splunk like timestamp in "time" or other data in "fields". Overwriting "event" and any of its subfields is not allowed to preserve original event as is.

Fixes #667

@HeadHunter483 HeadHunter483 merged commit cb0b804 into master Sep 9, 2024
8 checks passed
@HeadHunter483 HeadHunter483 deleted the 667-output-splunk-copy-fields branch September 9, 2024 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: Meta data from event fields in Splunk output plugin
3 participants