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!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

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