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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...