Getting Data In

CSV file data not ingesting to specified index in inputs.conf

b0b
Loves-to-Learn Lots

I am trying to ingest a csv file and have indicated in the UF inputs.conf file as shown below

[monitor://C:\<directory>\file.csv]
index = csv_data
sourcetype = csv
crcSalt = <SOURCE>

I created a new index on the Splunk GUI page and even added the new index in indexes.conf on the Splunk machine. However, it seems like the data is not ingesting to the index 'csv_data' which I indicated. When I change the index in the UF inputs.conf to my lastChanceIndex, for some reason, it starts to ingest the csv data. 

How do I make the data ingest to the csv_data index instead of the lastChanceIndex? Am I missing a step?

Labels (2)
0 Karma

glc_slash_it
Path Finder

Hi,

Do you have a distributed enviornment with Indexers and Search Heads, or a single Splunk instance?

Try searching this in Splunk and look for error of warning messages:

index=_internal "csv_data"

 

 

0 Karma

b0b
Loves-to-Learn Lots

Hi,

Single Splunk instance. I searched for that in Splunk, a couple of results from metrics.log, but nothing came out as Warning. The log_level is INFO for all.

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!

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...

Turn Cisco Telemetry Into Action with Cisco Data Fabric, powered by the Splunk ...

The surge in machine data is already hitting enterprise budgets, and the agentic era will only intensify it. ...