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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...