# Successfully indexing but not seeing on Kibana

**URL:** https://discuss.elastic.co/t/successfully-indexing-but-not-seeing-on-kibana/202403
**Category:** Elasticsearch
**Created:** [October 4, 2019, 11:47pm UTC](https://discuss.elastic.co/t/successfully-indexing-but-not-seeing-on-kibana/202403 "2019-10-04T23:47:55Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![dalakada](https://avatars.discourse-cdn.com/v4/letter/d/bbe5ce/32.png) [@dalakada](https://discuss.elastic.co/u/dalakada)
#### Post date: [October 4, 2019, 11:47pm UTC](https://discuss.elastic.co/t/successfully-indexing-but-not-seeing-on-kibana/202403/1 "2019-10-04T23:47:55Z")

</div>

I'm using this snipped of code

```auto
> from datetime import datetime
from elasticsearch import Elasticsearch
es = Elasticsearch("#MY ES ENDPOINT")
doc = {
    'author': 'kimchy',
    'text': 'Elasticsearch: cool. bonsai cool.',
    # 'timestamp': datetime.now(),
}
print(datetime.now())
res = es.index(index="my_index", doc_type='my_type', body=doc)
print(res)

```

And as I result I got successful.  
`{'_index': 'my_index', '_type': 'my_type', '_id': 'zgGmmG0Ba3FWbd_8po43', '_version': 1, 'result': 'created', '_shards': {'total': 2, 'successful': 2, 'failed': 0}, '_seq_no': 72507673, '_primary_term': 1}`  
But when I query it on Kibana, I see no results.  
What do you guys think?

---

<div class="post-metadata">

### Author: ![linkerc](https://avatars.discourse-cdn.com/v4/letter/l/13edae/32.png) [@linkerc](https://discuss.elastic.co/u/linkerc)
#### Post date: [October 5, 2019, 1:21am UTC](https://discuss.elastic.co/t/successfully-indexing-but-not-seeing-on-kibana/202403/2 "2019-10-05T01:21:17Z")

</div>

what version of ES? ("\_type" is deprecated).  
What was your query?  
What was the query response?

---

<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: [November 2, 2019, 1:21am UTC](https://discuss.elastic.co/t/successfully-indexing-but-not-seeing-on-kibana/202403/3 "2019-11-02T01:21:23Z")

</div>

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