# Kibana Import JSON : File structure cannot be determined

**URL:** <https://discuss.elastic.co/t/kibana-import-json-file-structure-cannot-be-determined/333275>\
**Category:** Kibana\
**Created:** [May 12, 2023, 9:20am UTC](https://discuss.elastic.co/t/kibana-import-json-file-structure-cannot-be-determined/333275 "2023-05-12T09:20:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Julien069](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@Julien069](https://discuss.elastic.co/u/Julien069)\
**Post date:** [May 12, 2023, 9:20am UTC](https://discuss.elastic.co/t/kibana-import-json-file-structure-cannot-be-determined/333275/1 "2023-05-12T09:20:07Z")

</div>

Hi ,

I want to import this index-pattern :  
[Kibana index-pattern](https://github.com/stormshield/stormshield-ELK/blob/master/index-pattern/stormshield-fields-format.json)

When I import it , I have this error :

 ![erreur Timestamp](https://us1.discourse-cdn.com/elastic/original/3X/c/9/c9dead95fbc7b2ab79a91f0d812931e2a5466f1e.jpeg)

I tried to override Timestamp with this option but it doesn't work :  
 ![Override](https://us1.discourse-cdn.com/elastic/original/3X/f/0/f07d84177d2ae5623837b425ce8b71ad82876772.jpeg)

I tried to make `timestamp_format` to `null` but it's doesn't work :  
[Github solution](https://github.com/elastic/kibana/issues/146700)

I read many discussion forum on this theme , lot of on .CSV file but no one on JSON .

I have you got any idea 🙂

---

<div class="post-metadata">

**Author:** ![Julien069](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@Julien069](https://discuss.elastic.co/u/Julien069)\
**Post date:** [May 15, 2023, 2:34pm UTC](https://discuss.elastic.co/t/kibana-import-json-file-structure-cannot-be-determined/333275/2 "2023-05-15T14:34:10Z")

</div>

Does I need to convert JSON file to NDJSON ?

[Index-pattern](https://github.com/stormshield/stormshield-ELK/blob/master/index-pattern/stormshield-fields-format.json)

The JSON File (index pattern) is made in 2019, does I have to change something ?

---

<div class="post-metadata">

**Author:** ![Dzmitry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dzmitry/32/65026_2.png) [@Dzmitry](https://discuss.elastic.co/u/Dzmitry)\
**Post date:** [May 19, 2023, 1:42pm UTC](https://discuss.elastic.co/t/kibana-import-json-file-structure-cannot-be-determined/333275/3 "2023-05-19T13:42:20Z")

</div>

Hey @Julien069 ,

I would start checking [compatibility](https://www.elastic.co/guide/en/kibana/master/saved-objects-api-import.html), as you might not be to able to import pretty old saved objects to the current Kibana instance. If you scroll down, you can also find curl examples.

Regarding the format and possible changes, here is an [example](https://github.com/elastic/kibana/blob/main/test/functional/fixtures/kbn_archiver/date_nanos.json) of saved objects format we are currently use in our tests. Hope it helps.

Best, Dima

---

<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:** [June 16, 2023, 1:42pm UTC](https://discuss.elastic.co/t/kibana-import-json-file-structure-cannot-be-determined/333275/4 "2023-06-16T13:42:24Z")

</div>

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