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!

Splunk Life | Happy Pride Month!

Happy Pride Month, Splunk Community! 🌈 In the United States, as well as many countries around the ...

SplunkTrust | Where Are They Now - Michael Uschmann

The Background Five years ago, Splunk published several videos showcasing members of the SplunkTrust to share ...

Admin Your Splunk Cloud, Your Way

Join us to maximize different techniques to best tune Splunk Cloud. In this Tech Enablement, you will get ...