Question

App platform log forwarding to logtail level

I’m forwarding my logs from app platform to logtail. But in logtail all the logs are always of level ‘info’. So also the error logs are level info.

In digitalocean logs you see this (text ‘error’ is in red):

error: GET /v1 404 - 1.469 ms - message: Not found

And in logtail you see this (everything except ‘[INFO]’ is in red):

[INFO] error: GET /v1 404 - 1.469 ms - message: Not found

So now I can’t filter the logs in logtail based on the level. How can I fix this?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there,

I’ve just tested this with a demo app that I have and it seems to be working on when the source in Logtail is set to RSyslog. That way Logtail should be able to parse the log information correctly.

However this might depend on your application, what is the stack that you are using?

Let me know how it goes.

Best,

Bobby