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!

Announcing Scheduled Export GA for Dashboard Studio

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

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 GA in US-AWS!

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