vanthome / winston-elasticsearch

An elasticsearch transport for winston
MIT License
270 stars 132 forks source link

Health Checks #157

Open giancarlokc opened 4 years ago

giancarlokc commented 4 years ago

Hello,

We recently started using this module to send client logs to elasticsearch. However, after a couple of weeks, we noticed that some users were sending too many HEAD requests to our elasticsearch endpoint.

@vanthome, I was wondering if you would be open to adding an option to this module to disable health checks and just perform bulk writes. If so then I would be willing to create PR with this change. Let me know what you think.

Cheers!

vanthome commented 4 years ago

Hi, sure, if you create a PR I'm very happy to add it. I hope you can even control this behavior with the ES client. Thx