pinojs/pino-elasticsearch

Have an option for SSL

Opened this issue · 1 comments

Can we have an option to pass the ssl configuration to the elasticsearch client? I can do a PR if people want.

Just need to pass an object like this.

ssl: {
    ca: fs.readFileSync('./cacert.pem'),
    rejectUnauthorized: true
  }