Splunk Search

Rename fields in source

Joannna
Explorer

Hello 🙂

 

I have splunk getting data from a folder everyday.

Recently the files changed the name of the fields.

Here is a sample there are 44 fields in total,

Old 	New
Number	number
Correlation ID	correlation_id
Opened	opened_at
Priority	priority
Category	category
Site	u_customer_site
Domain	u_domain
Nature	u_nature

 

I was wondering if there is anyway i can make this change without needing to add to every single dashboard the | rename as 44 times.

 

Labels (6)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Add 44 FIELDALIAS settings in the appropriate props.conf stanza.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Add 44 FIELDALIAS settings in the appropriate props.conf stanza.

---
If this reply helps you, Karma would be appreciated.

ITWhisperer
SplunkTrust
SplunkTrust

You could put the renames in a macro and then call the macro from your dashboards.

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 ...