Getting Data In

Indexing a csv file via the forwarder

ddrillic
Ultra Champion

When we index a csv file via the forwarder we see the following -

alt text

Why don't we see separate events?

Tags (1)
0 Karma
1 Solution

tiagofbmm
Influencer

When specifying the sourcetype of the csv you are indexing, put cab because that one will automatically take care of that type of file.

If you want to specify more things than the ones in the cab sourcetype, I would suggest you to copy the csv sourcetype and modify it the way you want.

Let me know if the csv itself solved it

View solution in original post

tiagofbmm
Influencer

When specifying the sourcetype of the csv you are indexing, put cab because that one will automatically take care of that type of file.

If you want to specify more things than the ones in the cab sourcetype, I would suggest you to copy the csv sourcetype and modify it the way you want.

Let me know if the csv itself solved it

ddrillic
Ultra Champion

I have a blackout when it comes to the sourcetypes and automatic detecting ; -)

0 Karma

ddrillic
Ultra Champion

Must be the end of line characters ..

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...