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!

[Puzzles] Solve, Learn, Repeat: Tiling

This puzzle (first published here) is based on finding groups of tessellated tiles (inspired by floor tiles I ...

SOK it to Me: Top 3 Benefits of Using Splunk Operator on Kubernetes that’ll Make ...

    Thursday, July 9, 2026  |  11:00AM–12:00PM PDT Duration: 1 hour (includes Q&A) Managing can feel like a ...

Upgrade Prep for 10.4, Network Observability Deep Dives, and More from Splunk Lantern

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...