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 Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

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