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!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...