Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging to Elasticsearch via CLI and custom connection. #196

Open
salahudd33n opened this issue Sep 9, 2024 · 0 comments
Open

Logging to Elasticsearch via CLI and custom connection. #196

salahudd33n opened this issue Sep 9, 2024 · 0 comments

Comments

@salahudd33n
Copy link

salahudd33n commented Sep 9, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant