Getting Data In

Can phyton script modify a log event on the fly in a universal forwarder?

lpolo
Motivator

Can a phyton script modify a log event on the fly in a universal forwarder?

For example:

file.log:

timestamp <id=xxxx>{
json content
}

log event to be forwarded:

file.log:

{
"timestamp : "xx/xx/xx:xx:xx:xx",
"id" : "xxxx"
json content
}

Thanks for your guidance.

LP

Tags (1)
0 Karma

dwaddle
SplunkTrust
SplunkTrust

This cannot be done at the Universal Forwarder. I'm not even sure it can be (simply) done at the indexer.

0 Karma
Get Updates on the Splunk Community!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...