Splunk Search

How to combine tables with identical fields?

jpfrancetic
Path Finder

Hi Splunk Community,

I have 2 tables I am attempting to merge together. Both tables are in csvs that I am trying to pull from. Does anyone know the command so that the data from the second table gets added to the bottom of the first?

table 1                                           table 2

a1                                                    d4 

b1                                                    e5

c3                                                     f6

Combined

a1

b2

c3

d4

e5

f6                                    

Labels (2)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust
| inputlookup table1.csv
| append [|inputlookup table2.csv]

View solution in original post

0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

@jpfrancetic - Try the below search:

| inputlookup table1.csv
| inputlookup append=true table2.csv
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| inputlookup table1.csv
| append [|inputlookup table2.csv]
0 Karma
Get Updates on the Splunk Community!

Splunk Certification Support Alert | Pearson VUE Outage

Splunk Certification holders and candidates!  Please be advised of an upcoming system maintenance period for ...

Enterprise Security Content Update (ESCU) | New Releases

In September, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...

New in Observability - Improvements to Custom Metrics SLOs, Log Observer Connect & ...

The latest enhancements to the Splunk observability portfolio deliver improved SLO management accuracy, better ...