Getting Data In

Need help in indexing data from shell script with headers

DataOrg
Builder

i want to index data with 1st line as header and index data from second row as new line vice versa

 

CONTAINER ID,IMAGE,COMMAND,CREATED,STATUS,PORTS,NAMES
8c0e092b6815,thomsch98/kafdrop:latest,"/usr/local/bin/mvn-…",3 days ago,Up 3 days,PAServices_kafdrop.1,yen4hgju18kkfgq9bvud7e1w8
35fe9af4efa0,thomsch98/kafdrop:latest,"/usr/local/bin/mvn-…",3 days ago,Exited (137) 3 days ago,PAServices_kafdrop.1,x2r2tuosozdd9uzfnq7ejdi70

 

Labels (3)
Tags (3)
0 Karma
Get Updates on the Splunk Community!

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...