sivasamyk / logtrail

Kibana plugin to view, search & live tail log events
MIT License
1.4k stars 185 forks source link

Make query for .logtrail index compatible with ES 7.x #367

Closed methedeveloper closed 5 years ago

methedeveloper commented 5 years ago

As stated in https://www.elastic.co/guide/en/elasticsearch/reference/master/removal-of-types.html, when connecting to a elasticsearch version 7.x searching for .logtrail index, operation GET /.logtrail/config/1 is no longer suported. It should be used GET /.logtrail/_doc/1 instead. I have tested this fix connecting to a ElasticSearch 7.3.2 and it works.

sivasamyk commented 5 years ago

@methedeveloper Thanks for the PR!