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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...