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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...