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!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...