Set custom type in logstash 6.0.0

Hi All,

I have a index in es 6.0.0 with type name as 'realtime'. I am loading some data from mysql in es using logstash. But it is giving me some deprecated warning for type.
If i remove my entry for document type in output plugin of logstash, it is taking the by default value of doc which is giving some error.
How can i set my custom type so that it won't give any warning?

1 Like

I have a index in es 6.0.0 with type name as 'realtime'. I am loading some data from mysql in es using logstash. But it is giving me some deprecated warning for type.

Always quote message in full. Do not paraphrase.

If i remove my entry for document type in output plugin of logstash, it is taking the by default value of doc which is giving some error.

Keep your elasticsearch output's document_type => "realtime" setting.

Hi,
Thanks for replying. In that case , it is giving me the deprecated warning for using document_type

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