Splunk Search

How to hardcode a field rename

kwanx
Explorer

Hello - didn't see this discussed elsewhere.

I have an SNMP based source type who is interpreting the fields as unfriendly iso numbers (such as iso_3_6_1_4_1_8248_1_1_1_1_1_2)

I am familiar with how to use rename command inside of query.

What i seek is to change a config file (or open to suggestions) to always show iso_3_6_1_4_1_8248_1_1_1_1_1_2 as SERVICE.

If anyway possible, help appreciated!

Tags (2)
0 Karma
1 Solution

lguinn2
Legend

Under Settings->Field, you can set a field alias. These are quite simple to set up.

View solution in original post

lguinn2
Legend

Under Settings->Field, you can set a field alias. These are quite simple to set up.

kwanx
Explorer

Thats pretty sweet! not sure how i missed that...thank you!

0 Karma

somesoni2
Revered Legend
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Vibe-coding, AI, and Splunkcraft: Highlights from the .conf26 Builder Bar

If you stopped by the Builder Bar at .conf26, thank you! This year, we brought ...

Thanks for the Memories: .conf26 Took Learning to New Heights

Thank you, Splunk Community, for making .conf26 in Denver one for the books. From packed Splunk University ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...