# Unable to see the Kibana object I have curlPUT-ed

**URL:** <https://discuss.elastic.co/t/unable-to-see-the-kibana-object-i-have-curlput-ed/118825>\
**Category:** Kibana\
**Created:** [February 7, 2018, 11:22am UTC](https://discuss.elastic.co/t/unable-to-see-the-kibana-object-i-have-curlput-ed/118825 "2018-02-07T11:22:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vincent-fuchs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vincent-fuchs/32/27483_2.png) [@vincent-fuchs](https://discuss.elastic.co/u/vincent-fuchs)\
**Post date:** [February 7, 2018, 11:22am UTC](https://discuss.elastic.co/t/unable-to-see-the-kibana-object-i-have-curlput-ed/118825/1 "2018-02-07T11:22:16Z")

</div>

HI,

I am using ES and Kibana 6.0.0. At Kibana startup, I would like to push some objects (search, viz, dashboard) in .kibana index in ES.

I am doing a _PUT .kibana/doc/my\_warns\_and\_errors_ with below doc :

```
    {
"type": "search",
   "search":{
    "title": "WARN and ERROR logs",
    "description": "some description",
    "hits": 0,
    "columns": [
      "service.name",
      "level",
      "message",
      "@timestamp"
    ],
    "sort": [
      "@timestamp",
      "desc"
    ],
    "kibanaSavedObjectMeta": {
      "searchSourceJSON": "{\"index\":\"a611cf80-d10b-11e7-a59c-9b949ad6a836\",\"highlightAll\":true,\"version\":true,\"query\":{\"language\":\"lucene\",\"query\":\"(level:WARN OR level:ERROR)\"},\"filter\":[]}"
    }
   }
}

```

I get a 200 OK response, saying document was updated.

When I go to Kibana and look at the searches, I find it, but all fields are empty. I have tried exporting existing searches that I created manually, but I am not able to tweak the json documents so that I am able to repush them through a curl PUT.

What should be the format of the document to push, so that I am then able to use it in Kibana ?

Thanks !

---

<div class="post-metadata">

**Author:** ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)\
**Post date:** [February 7, 2018, 5:15pm UTC](https://discuss.elastic.co/t/unable-to-see-the-kibana-object-i-have-curlput-ed/118825/2 "2018-02-07T17:15:45Z")

</div>

hi @vincent-fuchs

what happens when you read out the document, does it look as expected?

`GET .kibana/doc/my_warns_and_errors`

---

<div class="post-metadata">

**Author:** ![vincent-fuchs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vincent-fuchs/32/27483_2.png) [@vincent-fuchs](https://discuss.elastic.co/u/vincent-fuchs)\
**Post date:** [February 8, 2018, 3:56am UTC](https://discuss.elastic.co/t/unable-to-see-the-kibana-object-i-have-curlput-ed/118825/3 "2018-02-08T03:56:46Z")

</div>

yes, I guess it looks like it should :

```
{
    "_index": ".kibana",
    "_type": "doc",
    "_id": "my_warns_and_errors",
    "_version": 1,
    "found": true,
    "_source": {
        "type": "search",
        "search": {
            "title": "WARN and ERROR logs",
            "description": "some description",
            "hits": 0,
            "columns": [
                "service.name",
                "level",
                "message",
                "@timestamp"
            ],
            "sort": [
                "@timestamp",
                "desc"
            ],
            "kibanaSavedObjectMeta": {
                "searchSourceJSON": "{\"index\":\"a611cf80-d10b-11e7-a59c-9b949ad6a836\",\"highlightAll\":true,\"version\":true,\"query\":{\"language\":\"lucene\",\"query\":\"(level:WARN OR level:ERROR)\"},\"filter\":[]}"
            }
        }
    }
}

```

But when I go to Kibana -\> Management -\> Saved Objects -\> Searches, I see my search (the title shows up in the list). When I click on it to see the search details, all fields are empty : title, description, column, hits, sort, version.. and kibanaSavedObjectMeta.searchSourceJSON contains only empty curly braces

---

<div class="post-metadata">

**Author:** ![vincent-fuchs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vincent-fuchs/32/27483_2.png) [@vincent-fuchs](https://discuss.elastic.co/u/vincent-fuchs)\
**Post date:** [February 15, 2018, 9:20am UTC](https://discuss.elastic.co/t/unable-to-see-the-kibana-object-i-have-curlput-ed/118825/4 "2018-02-15T09:20:36Z")

</div>

Nobody has any clue ? Am I really the only one trying to do this out there ? 😉

---

<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 15, 2018, 9:20am UTC](https://discuss.elastic.co/t/unable-to-see-the-kibana-object-i-have-curlput-ed/118825/5 "2018-03-15T09:20:38Z")

</div>

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