# Upload csv file without timestamp to kibana with ML fails

**URL:** <https://discuss.elastic.co/t/upload-csv-file-without-timestamp-to-kibana-with-ml-fails/257376>\
**Category:** Kibana\
**Tags:** elastic-stack-machine-learning\
**Created:** [December 2, 2020, 3:17pm UTC](https://discuss.elastic.co/t/upload-csv-file-without-timestamp-to-kibana-with-ml-fails/257376 "2020-12-02T15:17:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![christophe\_spielmann](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christophe_spielmann/32/49567_2.png) [@christophe\_spielmann](https://discuss.elastic.co/u/christophe_spielmann)\
**Post date:** [December 2, 2020, 3:17pm UTC](https://discuss.elastic.co/t/upload-csv-file-without-timestamp-to-kibana-with-ml-fails/257376/1 "2020-12-02T15:17:26Z")

</div>

Hello,  
in the data visualizer of the Machine learning, we used to have a feature to upload a csv.  
there is blog about that https://www.elastic.co/blog/importing-csv-and-log-data-into-elasticsearch-with-file-data-visualizer

It worked very fine in version 6 when the csv does not have a timestamp.  
I migrated from version 6.5 to version 7. and now it does not work anymore if the csv does not contain any timestamp.

The error message is:

_File could not be read_  
_[illegal\_argument\_exception] Could not find a timestamp in the sample provided_

How can I overcome this ?  
this feature was very useful indeed !

---

<div class="post-metadata">

**Author:** ![droberts195](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/droberts195/32/17692_2.png) [@droberts195](https://discuss.elastic.co/u/droberts195)\
**Post date:** [December 3, 2020, 5:02pm UTC](https://discuss.elastic.co/t/upload-csv-file-without-timestamp-to-kibana-with-ml-fails/257376/2 "2020-12-03T17:02:24Z")

</div>

For a perfectly formed CSV file with the same number of columns in every row it should still work without a timestamp in version 7.

I put more advice about this in [https://github.com/elastic/kibana/issues/63526#issuecomment-738138801](https://github.com/elastic/kibana/issues/63526#issuecomment-738138801), but the TL;DR is that the experience for CSV files that don't have the same number of columns in every row or are corrupt in some other way is much better in 7.10.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 31, 2020, 5:02pm UTC](https://discuss.elastic.co/t/upload-csv-file-without-timestamp-to-kibana-with-ml-fails/257376/3 "2020-12-31T17:02:39Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
