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!

What's New in Splunk Observability Cloud and Splunk AppDynamics - May 2025

This month, we’re delivering several new innovations in Splunk Observability Cloud and Splunk AppDynamics ...

Getting Started with Splunk Artificial Intelligence, Insights for Nonprofits, and ...

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

Splunk Observability Cloud’s AI Assistant in Action Series: Identifying Unknown ...

Agentic AI powers the Splunk AI Assistant within the Splunk Observability Cloud interface to help you quickly ...