rfoltyns / log4j2-elasticsearch

Log4j2 Elasticsearch Appender plugins
Apache License 2.0
174 stars 46 forks source link

Unable to determine if index already exists #83

Closed rfoltyns closed 1 year ago

rfoltyns commented 1 year ago

Description Unable to create/update ILMPolicy when createBoostrapIndex is set to true.

[BatchEmitter] ERROR: CheckBootstrapIndex: Unable to determine if log4j2-elasticsearch-ahc-index index already exists

due to NPE at GenericRequest.itemSource.buffer

Configuration ILMPolicy setup with createBoostrapIndex set to true.

Runtime log4j2-elasticsearch-ahc:1.6.0

Additional context As a workaround, create bootstrap index manually and set ILMPolicy.createBoostrapIndex to false

rfoltyns commented 1 year ago

Fixed in 1.6.1