Splunk Search

rename default fields

moorvogi
Path Finder

i'm using a NIFI flow to send in 3 values (host, message, moreData). I want to use host passed in from nifi as a JSON object and that works just fine but the records w/in Splunk show to values for "host".

It shows 127.0.0.1 and the actual value i want, lets say validHostName1.

If i exclude host 127.0.0.1 it removes the "validHostName1" values also as it's duel named.

I could rename the value i want to hostname thus negating the double value single var issue but I'm curious if there's a way to invert that and rename "host" which results in 127.0.0.1 to.. something else? Thus resulting in : host=validHostname1 and oldDefaultHost=127.0.0.1

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Splunk Observability Synthetic Monitoring - Resolved Incident on Detector Alerts

We’ve discovered a bug that affected the auto-clear of Synthetic Detectors in the Splunk Synthetic Monitoring ...

Video | Tom’s Smartness Journey Continues

Remember Splunk Community member Tom Kopchak? If you caught the first episode of our Smartness interview ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud? Learn how unique features like ...