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!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...