Skip to content

Logging to Elasticsearch via CLI and custom connection. #196

@salahudd33n

Description

@salahudd33n

Hi,

I was unable to get a module going with a pino logger.

I'm using NextJS as a FE/BE. I want all my next Logs to be exported.

I'm using pino as a custom logger ( Some NextJS logs aren't correctly formatted, error handler would be great here but again, module doesn't work. )

My compromise is to use Pino Elasticsearch command line, embedded in my docker container to pipe logs.

However, I have a custom setup that requires TLS and I need to pass in a cert to make requests to my Elasticsearch instance.

This is a big blocker for me, Any assistance would be appreciated.

Next v 14.1.4

Also it would be great if we could get an example config file in the documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions