Splunk Search

Can I specify app name in Splunk query and run that query from any app ?

VS0909
Communicator

Can I specify app name in Splunk query and run that query from any app ?

0 Karma

VS0909
Communicator

@gcusello  Thanks for the reply!

If I query index="abc" for app1 and app2, will I receive same events?

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @VS0909,

if you use a search like index=abc, you'll receive the same events, it's different if you use in that search a field or an eventtype or a tag that are defined in the App and have their own access rights.

In other words, as I said in my previous answer, you have to set as Global App and Knowledge Objects, and give the same access rights than the App not only to the App but also to the knowledge objects (e.f. field extractions or eventtypes or tags) that it contains.

Ciao.

Giuseppe

gcusello
SplunkTrust
SplunkTrust

Hi @VS0909,

for my knowledge you cannot.

You can configure access rights to an App and related Knowledge Objects as Global, giving access rights to one or more roles and the users with those roles can access the App and the K.O. without specifying the App that contains a search.

Ciao.

Giuseppe

0 Karma
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 ...