Successfully indexing but not seeing on Kibana

I'm using this snipped of code

> 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?

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

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