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 Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...