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
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...