Splunk Search

Is there a Splunk search command that will give an organized summary listing of all field alias definitions?

kdwsplunk
Explorer

Hello,
I was wondering if there is an SPL command that will give an organized summary or listing of all field aliases that have been defined. So far it looks like a user has to go into the settings and look at each definition individually. Or an admin has to go into the back end and look into each app's .conf file separately.

It would be nice to have something analogous to the fieldsummary command or the datamodel command.

Thanks!

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Use REST.

|rest /services/data/props/fieldaliases | rename title as Name, value as "Field aliases", eai:acl.app as App, eai:acl.owner as Owner | table Name "Field aliases" App Owner
---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Use REST.

|rest /services/data/props/fieldaliases | rename title as Name, value as "Field aliases", eai:acl.app as App, eai:acl.owner as Owner | table Name "Field aliases" App Owner
---
If this reply helps you, Karma would be appreciated.

kdwsplunk
Explorer

THANK YOU!!!

Excellent!!! Works very nicely!!!

0 Karma
Get Updates on the Splunk Community!

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

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