Splunk Enterprise Security

In Splunk Enterprise Security, how do you rename the auto-discovered fields?

arlombar
Explorer

Is it possible to rename auto-discovered fields? I can't seem to find a way to do this. I tried adding events to a datamodel and then renaming the auto-extracted events, but this does not seem to actually change the field name (not sure what the point of the display name is really). Has anyone found a workaround for this? And no I am not trying to perform a rename on every search and I would rather not manually extract each field from the JSON events I am trying to parse.

0 Karma

solarboyz1
Builder

You would need to create an alias for each field you want to rename:
https://docs.splunk.com/Documentation/Splunk/7.2.5/Knowledge/Configurefieldaliaseswithprops.conf

This will result in two fields, one with the original name and one with the new name.
You can then just use the new field name, and ignore the old field name.

If you want to drop the old field name so it doesn't show up at all, then you would need to create a full parsing of the events to extract the fields with the field names you want...and turn OFF auto-extraction for this data source.

0 Karma
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...