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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...