Getting Data In

Not showing csv data

dsiob
Communicator

hi,
I uploaded csv file having a date field. This field has current week dates as well as future week dates.
CSV got uploaded successfully without any warning, but while searching on the csv it shows '0 events before 6/14/2017 8:51:00AM'. '6/14/2017 8:51:00AM' is current time.
I alreadyset MAX_DAYS_HENCE=30 in props.config

While uploading
alt text

On searching
alt text

0 Karma

woodcock
Esteemed Legend

You can do a search for All timeor, as @BlueSocket said, use latest=+30d or similar.

0 Karma

BlueSocket
Contributor

I see what is going wrong - you have given the data in the future and so the data is indexed in the future. However, the search is by default in the past. Have you tried using the search:

source="New_Excel_B.csv" host="397AD-1A210036" sourcetype="csv" latest=+30d
0 Karma

dsiob
Communicator

now the result is "0 events (before 7/15/17 12:01:38.000 AM)"

0 Karma

BlueSocket
Contributor

I just had a thought., What happens when you do the following query?

sourcetype="csv" earliest=-10y latest=+10y

Do you get anything then?

0 Karma

dsiob
Communicator

One thing I noticed that it is showing count as '1' in Data Summary for 'New_Excel_B.csv' but while uploading it displayed all events the csv has. !!!

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...