fluentd-docker-image icon indicating copy to clipboard operation
fluentd-docker-image copied to clipboard

How to view Logs in FluentD?

Open ZedZipDev opened this issue 4 years ago • 2 comments

My environment:

I run FluentD using Docker-compose file https://docs.fluentd.org/container-deployment It runs ok. I run the simple sample as described here: https://github.com/zoetrope/fluent-logger-csharp Finally: The app works fine but I cannot find any log records using http://localhost:5601

What is wrong?

ZedZipDev avatar May 04 '21 09:05 ZedZipDev

I'll recommend explaining reproducible steps even though it take times.

I guess you use https://docs.fluentd.org/container-deployment/docker-compose#step-0-create-docker-compose-yml but don't know which version of image nor fluent-logger-csharp.

(By the way, fluent-logger-csharp is not maintained anymore, does it work with recent fluentd? )

https://docs.fluentd.org/container-deployment/docker-compose#step-1-create-fluentd-image-with-your-config-plugin It may help you to confirm combination with fluentd and fluent-logger-csharp works)

kenhys avatar Jun 04 '21 04:06 kenhys

(By the way, fluent-logger-csharp is not maintained anymore, does it work with recent fluentd? )

For recent Fluentd, I think that NLog.Targets.Fluentd is recommended.

cosmo0920 avatar Jun 05 '21 15:06 cosmo0920