# Machine Learning - Import LOG file

**URL:** <https://discuss.elastic.co/t/machine-learning-import-log-file/262466>\
**Category:** Kibana\
**Tags:** elastic-stack-machine-learning\
**Created:** [January 28, 2021, 8:56am UTC](https://discuss.elastic.co/t/machine-learning-import-log-file/262466 "2021-01-28T08:56:53Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![mariannoem-eltras](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mariannoem-eltras/32/82920_2.png) [@mariannoem-eltras](https://discuss.elastic.co/u/mariannoem-eltras)\
**Post date:** [January 28, 2021, 8:56am UTC](https://discuss.elastic.co/t/machine-learning-import-log-file/262466/1 "2021-01-28T08:56:54Z")

</div>

Hi there,  
would anyone be able to help with Importing Log file into Kibana?  
I am trying to import \*.log file from server through kibana/app/home - Import log file.  
However, in process of analyzing I keep getting error File could not be read.

Any idea where I could look for error log more deeply, or any suggestion what to look for?  
THanks in advance.

---

<div class="post-metadata">

**Author:** ![mattkime](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattkime/32/43522_2.png) [@mattkime](https://discuss.elastic.co/u/mattkime)\
**Post date:** [January 29, 2021, 3:52pm UTC](https://discuss.elastic.co/t/machine-learning-import-log-file/262466/2 "2021-01-29T15:52:02Z")

</div>

Hello @mariannoem-eltras

Do you see an error in the browser console or in the kibana logs? Which version and license of the elastic stack are you using?

Thanks,  
Matt

---

<div class="post-metadata">

**Author:** ![mariannoem-eltras](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mariannoem-eltras/32/82920_2.png) [@mariannoem-eltras](https://discuss.elastic.co/u/mariannoem-eltras)\
**Post date:** [January 29, 2021, 8:39pm UTC](https://discuss.elastic.co/t/machine-learning-import-log-file/262466/3 "2021-01-29T20:39:56Z")

</div>

Hi  
I am getting that error in web browser. Google chrome.  
However i have not seen that error in logs of kibana yet

---

<div class="post-metadata">

**Author:** ![mattkime](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattkime/32/43522_2.png) [@mattkime](https://discuss.elastic.co/u/mattkime)\
**Post date:** [January 29, 2021, 9:11pm UTC](https://discuss.elastic.co/t/machine-learning-import-log-file/262466/4 "2021-01-29T21:11:54Z")

</div>

Which version and license of the elastic stack are you using?

Could you provide a screenshot of the error? Does google chrome show any errors in the console?

Could you provide me with your logs or a sample that reproduces the problem?

---

<div class="post-metadata">

**Author:** ![mariannoem-eltras](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mariannoem-eltras/32/82920_2.png) [@mariannoem-eltras](https://discuss.elastic.co/u/mariannoem-eltras)\
**Post date:** [January 29, 2021, 9:26pm UTC](https://discuss.elastic.co/t/machine-learning-import-log-file/262466/5 "2021-01-29T21:26:33Z")

</div>

sure I will collect all logs and screenshots on monday morning.  
Thanks so far.  
License, we are using free version so far.

---

<div class="post-metadata">

**Author:** ![mariannoem-eltras](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mariannoem-eltras/32/82920_2.png) [@mariannoem-eltras](https://discuss.elastic.co/u/mariannoem-eltras)\
**Post date:** [February 2, 2021, 7:52am UTC](https://discuss.elastic.co/t/machine-learning-import-log-file/262466/6 "2021-02-02T07:52:26Z")

</div>

Hi,  
attaching 2 images with error in browser, and error in browser with console opened.  
I have tried to look for logs inside containers, but did not get anything from there.  
I wonder if this might have something to do with DLP on my laptop?  
Thanks for help.

 ![elk-import-chrome-console](https://us1.discourse-cdn.com/elastic/original/3X/a/c/ac988cf473e6ed9601bde60c67d54787a41993b5.png) ![elk-import-error](https://us1.discourse-cdn.com/elastic/original/3X/7/e/7ecf233f12c63c67875bf83b8a0677ba0e2163a5.png)

---

<div class="post-metadata">

**Author:** ![mariannoem-eltras](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mariannoem-eltras/32/82920_2.png) [@mariannoem-eltras](https://discuss.elastic.co/u/mariannoem-eltras)\
**Post date:** [February 2, 2021, 1:03pm UTC](https://discuss.elastic.co/t/machine-learning-import-log-file/262466/7 "2021-02-02T13:03:03Z")

</div>

this also might be an issue with uploading large file?  
Where can I find the max allowed upload file for this issue?

---

<div class="post-metadata">

**Author:** ![mattkime](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattkime/32/43522_2.png) [@mattkime](https://discuss.elastic.co/u/mattkime)\
**Post date:** [February 2, 2021, 2:09pm UTC](https://discuss.elastic.co/t/machine-learning-import-log-file/262466/8 "2021-02-02T14:09:15Z")

</div>

This might provide some methods of resolving your large upload problem - [[ML] Uploading a file over 100MB via Kibana · Issue #61735 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/61735)

---

<div class="post-metadata">

**Author:** ![richcollier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/richcollier/32/115035_2.png) [@richcollier](https://discuss.elastic.co/u/richcollier)\
**Post date:** [February 2, 2021, 2:58pm UTC](https://discuss.elastic.co/t/machine-learning-import-log-file/262466/9 "2021-02-02T14:58:13Z")

</div>

Max size is 100MB, changeable via Kibana Advanced settings to as much as 1GB in recent versions of Kibana

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/4/44cc7fbe0770c4f2e9d56f5007fe7a22ffd29dc5.png)

---

<div class="post-metadata">

**Author:** ![mariannoem-eltras](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mariannoem-eltras/32/82920_2.png) [@mariannoem-eltras](https://discuss.elastic.co/u/mariannoem-eltras)\
**Post date:** [February 3, 2021, 8:19am UTC](https://discuss.elastic.co/t/machine-learning-import-log-file/262466/10 "2021-02-03T08:19:54Z")

</div>

Hi,  
thanks for all inputs, but I have checked the upload size (its on 100MB).  
I also tried to split log files into size \<10MB and the result is still the same.  
I wonder if would be there some other option how to get log files into kibana.

---

<div class="post-metadata">

**Author:** ![richcollier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/richcollier/32/115035_2.png) [@richcollier](https://discuss.elastic.co/u/richcollier)\
**Post date:** [February 3, 2021, 12:03pm UTC](https://discuss.elastic.co/t/machine-learning-import-log-file/262466/11 "2021-02-03T12:03:20Z")

</div>

If it is not a file size issue, then obviously it must be something else - perhaps a bug in interpreting what's in your file. If you have a few sample lines of the file, please post somewhere. One of us could test it.

---

<div class="post-metadata">

**Author:** ![mariannoem-eltras](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mariannoem-eltras/32/82920_2.png) [@mariannoem-eltras](https://discuss.elastic.co/u/mariannoem-eltras)\
**Post date:** [February 3, 2021, 3:20pm UTC](https://discuss.elastic.co/t/machine-learning-import-log-file/262466/12 "2021-02-03T15:20:23Z")

</div>

hi, for now I have resolved it by copying logs to separate server, konfigure filebeat to deliver logs to logstash, and parse them properly with logstash.  
The other way was denyied by my company as we are health insurance company and they dont like to share private data.  
So for now guys thanks, seems that this feature is realy just experimental, but I managed to import log file with size 800kb, not more.  
Seems to hard for me to split 200MB file into 800kb and than upload them one by one 🙂  
Thanks for your effor.

---

<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:** [March 3, 2021, 3:21pm UTC](https://discuss.elastic.co/t/machine-learning-import-log-file/262466/13 "2021-03-03T15:21:18Z")

</div>

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