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

Explore show live logs mode #83

Closed
yuriydzobak opened this issue Oct 5, 2024 · 13 comments
Closed

Explore show live logs mode #83

yuriydzobak opened this issue Oct 5, 2024 · 13 comments
Assignees
Labels
enhancement New feature or request

Comments

@yuriydzobak
Copy link

Hi,
As VictoriaLogs ahs live tailing mode
It would be nice if plugin will have this feature as well
Loki has it in their plugin
For example open loki play

screenshot-000456
and it expand ui in explore mode
screenshot-000457
Maybe Loki has a refresh mode instead of a live tailing mode like VictoriaLogs. However, it would be a useful feature for debugging apps in live mode.

@hagen1778 hagen1778 added the enhancement New feature or request label Oct 24, 2024
@dmitryk-dk dmitryk-dk self-assigned this Oct 31, 2024
@dmitryk-dk
Copy link
Contributor

Hi @yuriydzobak ! The feature was added in the release. Could you please check it? I close the issue. If you find any problems with new release please reopen the issue

@maxpain
Copy link

maxpain commented Nov 7, 2024

@dmitryk-dk I've just checked, and it works perfectly!

@maxpain
Copy link

maxpain commented Nov 7, 2024

I think I've found the bug. The "Clear logs" button breaks loading the new log entries.

Screen.Recording.2024-11-07.at.16.51.59.mov

@maxpain
Copy link

maxpain commented Nov 7, 2024

I also found a strange bug. The live mode ignores my filter for some reason.

Screen.Recording.2024-11-07.at.16.57.34.mov

@dmitryk-dk
Copy link
Contributor

I also found a strange bug. The live mode ignores my filter for some reason.

Screen.Recording.2024-11-07.at.16.57.34.mov

Could you check the request via vllogcli or with a request to the tail endpoint? I suppose it is a bug on the VictoriaLogs side. Because the query moves to VL as is, and there are no modifications.

@dmitryk-dk
Copy link
Contributor

I think I've found the bug. The "Clear logs" button breaks loading the new log entries.

Screen.Recording.2024-11-07.at.16.51.59.mov

Ok, will check, maybe miss something in the handlers

@archef2000
Copy link

Does it support live logs in the grafana logs dashboard?

@dmitryk-dk
Copy link
Contributor

Does it support live logs in the grafana logs dashboard?

I am not sure that Grafana supports it on the dashboard, either. Explore works. Need to check. If it is, we will make changes

@archef2000
Copy link

MQTT supports it in the dashboard while LOKI doesn't and I only want to use one log datasource and I am currently using LOKI. Even when both support live logs in the explorer tab.

@dmitryk-dk
Copy link
Contributor

MQTT supports it in the dashboard while LOKI doesn't and I only want to use one log datasource and I am currently using LOKI. Even when both support live logs in the explorer tab.

Ok, need to check and discuss how to better implement this feature

@dmitryk-dk
Copy link
Contributor

I think I've found the bug. The "Clear logs" button breaks loading the new log entries.

Screen.Recording.2024-11-07.at.16.51.59.mov

Hi! I have checked this behavior with Grafana 11.3.0 and it works well
check_live_clear_logs

@archef2000
Copy link

archef2000 commented Nov 25, 2024

Does it work with a dashboard to have live logs?
And is there a good docker compose to go of for running VictoriaLogs in a docker swarm? Could only find the helm repo but that does not help much. And here I found the docker folder, but is that all necessary?

@dmitryk-dk
Copy link
Contributor

Does it work with a dashboard to have live logs? And is there a good docker compose to go of for running VictoriaLogs in a docker swarm? Could only find the helm repo but that does not help much. And here I found the docker folder, but is that all necessary?

Hi @archef2000 ! At that moment live logs only work in the explore mode.

Can you check this folder ? Here, you can find any docker installations and make files that help you run them.
It is all necessary to run the vmlogs in the docker. If you find any issue you can open it in the main repository if it is related to docker or docker-compose files.

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

No branches or pull requests

5 participants