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!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...