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!

Enhance Your Splunk App Development: New Tools & Support

UCC FrameworkAdd-on Builder has been around for quite some time. It helps build Splunk apps faster, but it ...

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...