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

logs web ui doesn't use http.pathPrefix for queries #4604

Closed
drewp opened this issue Jul 10, 2023 · 1 comment
Closed

logs web ui doesn't use http.pathPrefix for queries #4604

drewp opened this issue Jul 10, 2023 · 1 comment
Labels
bug Something isn't working logs victorialogs vmui

Comments

@drewp
Copy link

drewp commented Jul 10, 2023

Describe the bug

https://bigasterisk.com/logs/select/vmui/#/?query=log_level%3A*&page=1

That page requests this, which is good:
https://bigasterisk.com/logs/select/vmui/static/js/main.46d11611.js

but also this:
POST https://bigasterisk.com/select/logsql/query

which is bad, since /logs/ is lost.

Also, https://bigasterisk.com/logs/select/vmui/dashboards/index.js looks like a good path, but returns 404. Maybe that one is expected.

To Reproduce

          args:
            - -storageDataPath=/data
            - -http.pathPrefix=/logs/
            - -loggerTimezone=America/Los_Angeles
            - -memory.allowedBytes=512MB
            - -retentionPeriod=8w

Version

      image: victoriametrics/victoria-logs:v0.1.0-victorialogs

Logs

No response

Screenshots

No response

Used command-line flags

No response

Additional information

No response

@drewp drewp added the bug Something isn't working label Jul 10, 2023
@zekker6 zekker6 added the logs label Jul 10, 2023
valyala added a commit that referenced this issue Jul 21, 2023
valyala added a commit that referenced this issue Jul 21, 2023
@valyala
Copy link
Collaborator

valyala commented Jul 28, 2023

vmui should properly handle -http.pathPrefix starting from v1.92.0. Closing the issue as fixed.

@drewp , feel free re-opening this issue or creating new one if the issue still persists after the upgrade to v1.92.0.

@valyala valyala closed this as completed Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working logs victorialogs vmui
Projects
None yet
Development

No branches or pull requests

4 participants