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!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...