Splunk Search

Creating new fields and setting values for fields retrieved on search.

misteryuku
Communicator

I put the key value pairs of the log message into the content body whenever i create new events throught the splunk's receiver endpoint, so that i can see new fields being added.

hater = yes, nothater = suck, splunk_server=L33603

splunk_server field was retrieved during serach and i set the value to it. When i sent the data for indexing, the new fields are created but the value of the splunk_server field wasn't the value that i set.

Tags (3)
0 Karma

ben_leung
Builder

Here is a list of splunk default fields you might want to get acquainted with.

http://docs.splunk.com/Documentation/Splunk/6.3.2/Knowledge/Usedefaultfields

0 Karma

the_wolverine
Champion

splunk_server is a reserved field used by Splunk. You should choose non-reserved field names.

You can confirm this by searching any event that does not contain your splunk_server key=value and see that the field exists in every event.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Painting a Clearer Picture: Creating Cross-Domain Visibility with AI Canvas

    Thursday, June 25, 2026  |  11AM PDT / 2PM EDT  Duration: 1 Hour (Includes live Q&A) Register to ...

Analytics Workspace deprecation

As of Splunk Cloud Platform 10.4.2604 and Splunk Enterprise 10.4, Analytics Workspace is now deprecated. ...

Splunk Developer Day Recap: Building, Publishing, and Growing on the Splunk Platform

Splunk Developer Day brought the Splunk developer community together for a practical look at what it means to ...