Where to find working config for Loki?

I think we are going in circles. That is not a problem because that is exactly what I want and it works for me just fine.

You asked for a working config and I gave you mine.

If you want to store it differently for you then change accordingly. I think you are looking for a config you just want to copy and paste.

@yosiasz

I’m sorry, but what do you mean by “works”?
works for a couple of hours?
it definitely doesn’t work the way it’s supposed to - it works when all the functions are available!

in this case, the data is not stored on disk, but is stored in memory until it is displaced by other data or the process is restarted - that’s for sure = “does not work”!

I initially described the problem and asked about a fully functional config

Works perfectly well 24 hours a day. What do you mean by “does not work”

@yosiasz

we need to store logs for at least a week - 24 hours is very little

1 Like

look at this

I read it, but it doesn’t help me in any way - I’m not an expert in monitoring - I’m a developer and I use Loki for development and it’s very difficult for me to understand these configurations

The main question is that the product is being released and there is no configuration example that would allow non-specialists to take and immediately use the product without in-depth study of it

1 Like

I also am primarily a developer. Indeed one of the main complaints by many is what seems to be lack of solid documentation, I feel your pain. I was in same boat as you when I started with Loki. Hope someone will provide you with what you are looking for.

2 Likes

Hi @budarin,

Are you still having issues with this or did you found a solution (if yes then kindly let us know)?

Wrapping this post up as it contains multiple solutions and suggestions.

Here is the final summary:

1- Link to the documentation on how to install Grafana Loki with Docker OR if you want to run it locally then follow this link.

2- Link to the documentation on how to configure the Loki driver for Docker Demon

3- (Optional but useful) How to setup persistent storage in the Docker container environment.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.