Is there any way to search for a container's logs based on a specific date? #3552
-
Greetings to all. However, I recently needed to analyze the logs of one of the services running on the server and I needed a way to get logs from yesterday or before. However, I tried to scroll through the history manually, and it proved to be unfeasible given the amount of logs. I analyzed the requests for new logs that the frontend makes when scrolling to the beginning, and I noticed that a date range is passed in the request:
I wanted to know if it is possible to pass these values manually on the panel I believe this is a good feature |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This was discussed in the GitHub thread: #3537. Supporting this feature is complicated. Dozzle primarily focuses on real-time logs, and while I agree that it would be a valuable addition, implementing controls to select a time slice is challenging. The situation becomes even more complex when scrolling up and down since Dozzle currently assumes it is displaying live logs. I see two potential directions for this:
Since this is a free open-source project, these use cases seem very "enterprise" in nature. Implementing them would require significant effort. I have previously asked about interest in an enterprise version that includes these features, but the response was minimal. This suggests that I should keep Dozzle simple and focus on real-time logs. |
Beta Was this translation helpful? Give feedback.
Dozzle's strength lies in its simplicity. That's why it works so well and can be installed with just one line.
Other solutions I can think of are either a) costly, depending on your data volume, like Datadog, or b) require significant knowledge to set up databases, user interfaces, and tools to get the job done.
ELK is a well-known tool that allows you to go back in time, but it's not as elegant as Dozzle. It requires setting up Elasticsearch, which consumes a lot of memory.
If you're looking for something that does all of this for free, it won't be easy, as building such a solution is time-consuming.
For now, I'll keep Dozzle as is until someone either spends time adding this functionali…