Getting Data In

Rename host field in event

tpederson
Path Finder

My events have a field like this:

host=192.168.0.0:8080

I would like to leave the default host field that splunk assigns, but take the host field from the event and rename it to something like event_host.

How would do I do that?

Tags (1)
0 Karma
1 Solution

okrabbe_splunk
Splunk Employee
Splunk Employee

Probalby the easiest way to do this would be to use the interactive field extractor. You can bring it up by clicking on the green arrow to the left of the event and select "extract fields".

This is a short video that demonstrates the usage:
http://www.splunk.com/view/SP-CAAADUY

If this doesn't work then we can try some other options....

View solution in original post

okrabbe_splunk
Splunk Employee
Splunk Employee

Probalby the easiest way to do this would be to use the interactive field extractor. You can bring it up by clicking on the green arrow to the left of the event and select "extract fields".

This is a short video that demonstrates the usage:
http://www.splunk.com/view/SP-CAAADUY

If this doesn't work then we can try some other options....

tpederson
Path Finder

That worked great, thanks for the help.

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...