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!

Introducing the Splunk Community Dashboard Challenge!

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

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

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