Getting Data In

When I use the inputcsv command with my data, I see an eventcount, but the events are blank. Why is this?

ycalpu
New Member

Hi all, when i do an inputcsv command, I see the data in the file I put on the splunk server. Since I want to see them as events I query the following:
| inputcsv filename.csv (I see all the data, 7603 counted)
| inputcsv start=1 events=yes filename.csv (I get the 7602 count, but showing all blank)

Any ideas why its showing blanks?

Tags (2)
0 Karma

jrodman
Splunk Employee
Splunk Employee

Events in the event viewer will generally be blank unless they include a _raw field. Your sv file probably does not have a field (or column) called _raw, which is the text of the event.

0 Karma

ycalpu
New Member

jrodman, how do you designate the _raw field?

Y

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

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, ...