Getting Data In

Is there a way to insert literal values into events before they are indexed?

erinboudreau
Explorer

Is there a way to insert values into events before they are indexed? We need to be able to insert string literals into our events before they are indexed.

sloshburch
Ultra Champion

If not happy with the answer, give us a scenario and details on how the inserts are valuable. There might be other ways to skin the cat than inserting literals.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Take a look at the REGEX and FORMAT attributes in the transforms.conf file. See http://docs.splunk.com/Documentation/Splunk/6.4.2/Admin/Transformsconf.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...