Elastalert: Removal of doc_type

Created on 18 Oct 2019  路  1Comment  路  Source: Yelp/elastalert

Hi,

Log files on production servers are filling up with this when using ES7:

|elastic-stack_elastalert.1.ub7osixty22buo3yvqrvptivd | 2019-10-18T20:36:04.422464393Z     
|elastic-stack_elastalert.1.ub7osixty22buo3yvqrvptivd | 2019-10-18T20:36:04.458761875Z 20:36:04.457Z ERROR elastalert-server:
|elastic-stack_elastalert.1.ub7osixty22buo3yvqrvptivd | 2019-10-18T20:36:04.458803675Z     ProcessController:  WARNING:root:doc_type has been deprecated since elasticsearch version 6 and will be completely removed in 8

I see there is a TODO in the code to remove doc_type (which we are not using in any of our rules but it is still throwing the error), but is there a workaround until then?

Most helpful comment

+1 on this, because it's polluting the output log so badly

>All comments

+1 on this, because it's polluting the output log so badly

Was this page helpful?
0 / 5 - 0 ratings