Getting Data In

Rename fields in Props.conf?

tmarlette
Motivator

I have some old iis logging going on in our web logs, and I am looking to rename some of the fields that I'm pulling out via transforms.conf.

The fields that I'm looking to rename in props look like this.

I would like to change "ip" to "clientip"
I would like to change "uri-query" to "uri"
and a few more.

Can this be done in the props.conf?

Travis

Tags (2)
1 Solution

alacercogitatus
SplunkTrust
SplunkTrust

You can do this in props.conf. Both fields will be visible.

[my_sourcetype]
FIELDALIAS-alias1 = ip AS clientip
FIELDALIAS-alias2 = uri-query AS uri
etc...

View solution in original post

alacercogitatus
SplunkTrust
SplunkTrust

You can do this in props.conf. Both fields will be visible.

[my_sourcetype]
FIELDALIAS-alias1 = ip AS clientip
FIELDALIAS-alias2 = uri-query AS uri
etc...

krdo
Communicator

Adding

[my_sourcetype]
# ...
EVAL-ip = null
EVAL-uri-query = null
# ...

will also hide the original fields.

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...