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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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