Type of Document_id in logstash

(Ritwik Jain) #1

Hi ,

In my database I am storing primary key as Long so I want my document_type to be of long type but it is String by default. Can we change the type of document_type in logstash

(Christian Dahlqvist) #2

You can not set the type of document ids or types in Elasticsearch.

(system) #3

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