pino-elasticsearch icon indicating copy to clipboard operation
pino-elasticsearch copied to clipboard

[feature request] Add proxy param

Open anisenBRU31 opened this issue 4 years ago • 1 comments

Add proxy options on function pinoElasticSearch and pass it in new Client

  const client = new Client({
    node: opts.node,
    auth: opts.auth,
    cloud: opts.cloud,
    ssl: { rejectUnauthorized: opts.rejectUnauthorized },
    proxy: opts.proxy
  })

anisenBRU31 avatar Jul 06 '21 10:07 anisenBRU31

Would you like to send a Pull Request to address this issue? Remember to add unit tests.

mcollina avatar Jul 06 '21 10:07 mcollina