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!

New in Observability - Improvements to Custom Metrics SLOs, Log Observer Connect & ...

The latest enhancements to the Splunk observability portfolio deliver improved SLO management accuracy, better ...

Improve Data Pipelines Using Splunk Data Management

  Register Now   This Tech Talk will explore the pipeline management offerings Edge Processor and Ingest ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

Register Join this Tech Talk to learn how unique features like Service Centric Views, Tag Spotlight, and ...