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!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...