Splunk Search

How do I find the queries & searches an App makes in ES or Splunk Enterprise? Thank u in advance for any help.

SamHTexas
Builder

In order to administer ES better am trying to find the queries, searches an app makes in addition to what data models it uses. Thank u for your help in advance.

Labels (1)
Tags (1)
0 Karma

codebuilder
Influencer

Searches are at: $SPLUNK_HOME/etc/apps/your_app_name/default/savedsearches.conf
Datamodels are at: $SPLUNK_HOME/etc/apps/your_app_name/default/datamodels.conf

You may also find one or both in the local directory, depending on if either is changed/customized.

There are also REST endpoints you can query for more info on scheduled/saved searchs:

| rest /servicesNS/-/your_app_name/saved/searches

| rest /servicesNS/your_user_name/your_app_name/saved/searches

----
An upvote would be appreciated and Accept Solution if it helps!
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...