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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...