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!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

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

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

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