Getting Data In

Trying to add a CSV file via Data Inputs in Splunk Web, why am I unable to preview data after entering the file and sourcetype?

tmaltizo
Path Finder

I'm trying to add a .csv file via Data Inputs. Here are the steps I'm taking for this (v6.4):

  1. Settings > Data Inputs > Files & Directories > New
  2. Select the .csv file and the option to "Continuously Monitor", Next>
  3. Sourcetype: csv (default)
  4. Timestamp: Current Time
  5. Field Delimiter: Comma (,)
  6. Quote character: Double-quote (")
  7. Field names: Line... , Field names on line number: 1
  8. Advanced: Kept all defaults
  9. Next>>>>>>>>>>>NO PREVIEW OF DATA.
  10. Input Settings: App Context-Search&Reporting
  11. Input Settings: Host-Constant Value,
  12. Input Settings: Index-siam

Ran the following search:

source="C:\\Users\\User1\\Downloads\\SearchReport.csv" host="USABCD123456" index="siam" sourcetype="csv"

NO DATA, but the file is listed under "Files & Directories"

Any help is much appreciated!

0 Karma

sundareshr
Legend

Data Preview does not work on "Continously Monitor". You need to select "One Time", verify your settings, save your sourcetype and before you finalize, go back and change to "Continously Monitor"

0 Karma

tmaltizo
Path Finder

Hi @sundareshr. Thanks for responding!

I tried the "Index Once" option, with all other settings as stated above and I'm still not able to preview the data before moving on to configuring the Input Settings.

When I continue to submit the new data input, there are no results returned. Going back to change to "Continuously Monitor", I don't even see my file listed.

Please advise.

0 Karma

sundareshr
Legend

Check the splunk logs for any errors or warning

 index=_internal sourcetype=splunkd error OR warn
0 Karma

tmaltizo
Path Finder

index=_internal.... returns nothing.
Since, I'm doing this from my FREE local Splunk instance, does this matter? It's a simple .csv sample file.

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...