Splunk Search

Get App Name/Folder Name using Search

askkawalkar
Path Finder

Hi All, 

I am stuck at a scenario where if user using search in a specific app, then that app folders name should be shown as a filed. 

Is there any way to get current app name using REST or METADATA or any other command ?

Thanks. 

 

Labels (4)
Tags (1)
0 Karma
1 Solution

thambisetty
SplunkTrust
SplunkTrust
index=_internal
| stats count
| appendcols
[| rest /services/search/jobs splunk_server=local
| addinfo
| where sid = info_sid
| rename eai:acl.app as app_name
| fields + app_name]

upvote if this resolves your issue.

————————————
If this helps, give a like below.

View solution in original post

thambisetty
SplunkTrust
SplunkTrust
index=_internal
| stats count
| appendcols
[| rest /services/search/jobs splunk_server=local
| addinfo
| where sid = info_sid
| rename eai:acl.app as app_name
| fields + app_name]

upvote if this resolves your issue.

————————————
If this helps, give a like below.
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...