Splunk Enterprise

How can I configure Splunk to read a csv file from a sourcetype

leandromatperei
Path Finder

Guys

I have the following .csv file that needs to be captured by Universal Forwarder, but the data is coming in messy. Could you help me how to create a sourcetype so that they are indexed in the order of the first line?

 

"Data","Site","Tipo","Agencia","Posicao","RCAF","Nome","Status","mes_ano"
"04/03/2021","SP","Agência","1010","AS","TESTE","Claudio A.","OnHook (01:00:00)","03-2021"
"04/03/2021","","Agência","","Consultor","32323232","Claudio A.","OnHook (10:00:41)","03-2021"

 

Labels (1)
Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Please show an example of the "messy" input.  Also, what do you mean by "in the order of the first line"?  The first line is a header that doesn't specify an order.  Besides, the forwarder always reads files from the first line to the last and there is no way to change that.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...