Splunk Search

Specify App Name in Splunk Query

VS0909
Communicator

I want to execute a query in app1, but I want to get the data from app2

For eg:

Execute query in app1 "index="abc",  This should get the data from app2

Please help!

Labels (5)
0 Karma

VS0909
Communicator

Hi, Can I specify app name in Splunk query?

0 Karma

VS0909
Communicator

Can someone please help on the below query?

I am using index="abc" . When I run this in app1 and app2, I get different data. I am selecting app from Splunk UI.

Can I specify app name in Splunk query?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

When you say "I get different data" do you mean different events or different fields?  Getting different fields is expected if the field extractions are limited to the app in which they are installed.  If you change them to Global access then any app should see them.

---
If this reply helps you, Karma would be appreciated.

VS0909
Communicator

I am using index="abc" . When I run this in app1 and app2, I get different data. I am selecting app from Splunk UI.

Can I specify app name in Splunk query?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Apps don't contain data - indexes do.

Please describe the problem you are trying to solve.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...