What's the difference between _type
and type
in elasticsearch from filebeat?
Looking the data from the query:
Looks like, the _type
is the doc type from index, and type
is just a field of my source data. If it is, why does filebeat set document_type
to be type
instead of _type
?