# RE: "File structure cannot be determined" - Visualize data from a log file

**URL:** <https://discuss.elastic.co/t/re-file-structure-cannot-be-determined-visualize-data-from-a-log-file/274671>\
**Category:** Kibana\
**Created:** [June 1, 2021, 6:10pm UTC](https://discuss.elastic.co/t/re-file-structure-cannot-be-determined-visualize-data-from-a-log-file/274671 "2021-06-01T18:10:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![momo1104](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@momo1104](https://discuss.elastic.co/u/momo1104)\
**Post date:** [June 1, 2021, 6:10pm UTC](https://discuss.elastic.co/t/re-file-structure-cannot-be-determined-visualize-data-from-a-log-file/274671/1 "2021-06-01T18:10:37Z")

</div>

Hello everyone, I keep on getting a "File structure cannot be determined" error message whenever I try to manually upload a JSON .txt and/or .csv wayy under 100MB (as pictured).

Links to dataset: [KDD Cup 1999 Data](http://kdd.ics.uci.edu/databases/kddcup99/kddcup99.html)  
[NSL-KDD | Datasets | Research | Canadian Institute for Cybersecurity | UNB](https://www.unb.ca/cic/datasets/nsl.html)

Looking for guidance as to how to resolve this issue.

The file(s) is a DDOS dataset that I am looking into as a data analysis exercise. The goal is to build dashboards

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/9/39088b986eea07b405fb48f7f5cf8a0cafd09a1b.png)

---

<div class="post-metadata">

**Author:** ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)\
**Post date:** [June 3, 2021, 12:19pm UTC](https://discuss.elastic.co/t/re-file-structure-cannot-be-determined-visualize-data-from-a-log-file/274671/2 "2021-06-03T12:19:33Z")

</div>

Hi, I've tried locally with the dataset provided, trying to upload each of the `.txt` file available and everyone worked without issues. It definitely doesn't work with other, non-textual, files.

Could you please tell us the Kibana version you are using and the server OS where is running?  
thanks

---

<div class="post-metadata">

**Author:** ![momo1104](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@momo1104](https://discuss.elastic.co/u/momo1104)\
**Post date:** [June 3, 2021, 4:43pm UTC](https://discuss.elastic.co/t/re-file-structure-cannot-be-determined-visualize-data-from-a-log-file/274671/3 "2021-06-03T16:43:34Z")

</div>

Hey Marco, i'm using Ubuntu 20.04 inside a Windows 10 Home - VMware environment. Kibana version is v 7.12.1.

That's strange, none of the formats works for me, gives me an error message everytime. What do you think it is? Thanks.

---

<div class="post-metadata">

**Author:** ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)\
**Post date:** [June 3, 2021, 6:12pm UTC](https://discuss.elastic.co/t/re-file-structure-cannot-be-determined-visualize-data-from-a-log-file/274671/4 "2021-06-03T18:12:00Z")

</div>

can you double check the csv format? when opening the .txt file do you see just rows of values separated by a comma?

---

<div class="post-metadata">

**Author:** ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)\
**Post date:** [June 3, 2021, 6:16pm UTC](https://discuss.elastic.co/t/re-file-structure-cannot-be-determined-visualize-data-from-a-log-file/274671/5 "2021-06-03T18:16:51Z")

</div>

Could you please check if this issue is somehow related: [Error importing a simple csv file on Data Visualizer · Issue #96425 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/96425)

---

<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:** [July 1, 2021, 6:17pm UTC](https://discuss.elastic.co/t/re-file-structure-cannot-be-determined-visualize-data-from-a-log-file/274671/6 "2021-07-01T18:17:02Z")

</div>

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