I tried to upload a log file and a CSV file through the Kibana UI upload file option. But in both cases getting "File structure cannot be determined" error

I am new to Elastic.
I have setup ELK in Ubuntu machine.
I tried to upload a log file and a CSV file through the Kibana UI upload file option. But in both cases getting "File structure cannot be determined" error.
I have tried to override settings to take 10 lines only, still getting same issue.
Please help.

Error snapshot

My CSV file looks like this - just a simple CSV file

My log file looks like this

Hi @cadrija. Can you share some more information?

  • What version of Kibana are you on?
  • How large are your CSV and log files?
  • Do you see any relevant errors in the Kibana server logs (likely located at /var/log/kibana)?

Hi @nickpeihl
Please consider below answers.

  • What version of Kibana are you on? - 7.17.6
  • How large are your CSV and log files? - Log file is 4.76 MB and CSV file is 2.38 MB
  • Do you see any relevant errors in the Kibana server logs (likely located at /var/log/kibana)? - Okay I will check this.
    Update - Checked logs, no error stack trace found.