Getting Data In

I have to combine two csv files of the lookup?

chitreshakumar
Communicator

The field is having created date till some time in first file and after that duration i have the data in other csv file .How can I combine these files ?Each of the file is having one unique field values for one particular field .Just take it as field1

0 Karma
1 Solution

493669
Super Champion

hi,
Try this:

| inputlookup lookup1.csv |table field1| append [| inputlookup append=true lookup2.csv |table field1] | table field1

View solution in original post

493669
Super Champion

hi,
Try this:

| inputlookup lookup1.csv |table field1| append [| inputlookup append=true lookup2.csv |table field1] | table field1

chitreshakumar
Communicator

Will that contain created date field along with field1.Or should I add
| inputlookup lookup1.csv |table field1,created_date| append [| inputlookup append=true lookup2.csv |table field1,created_date] | table field1,created_date

0 Karma

493669
Super Champion

yes you need to add
or try this also:

| inputlookup lookup1.csv | append [| inputlookup append=true lookup2.csv ] | table field1, created_date
0 Karma

chitreshakumar
Communicator

Ok Thanks!!

0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...