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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...