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
Splunk Employee
Splunk Employee

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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...