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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...