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
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...