All Apps and Add-ons

How to combine two index data in Splunk

welcome
Engager

We are using splunk for Jenkins logs so events are coming to splunk ,how to combine one index data with another index, can you give me proper search query and answer.

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
index=index1 OR index=index2
0 Karma

welcome
Engager

where we can see combined results of two index, can you please give me proper answer.

 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Based on the information you have provided, this is a proper answer. Try putting it into a search and see what results you get. If they are not the results you were expecting, please explain what it is that you want to see, providing examples of your events, details of how you want them combined, etc.

0 Karma

welcome
Engager

Actually I want to see combined data of two indexes into one index in splunk ,can you give me proper search query and answer

 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Splunk doesn't work that way, unless you want to collect from both indexes and store the events again in a third index. But what would be the point of doing that?

What will you do with the combine index which can't be done by using OR in the search?

0 Karma

welcome
Engager

We have a requirement to do so ,can we have any other way two combine 2 indexes data into 1 index in splunk,can we try from terminal side or using search query

 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Why not ingest the data into one index in the first place?

0 Karma

welcome
Engager

How to ingest the data into one index ,can you elaborate little bit

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

How do you currently ingest your data?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...