-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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
how can show the log on console? #12443
Comments
You'll need to upgrade to Grafana v5.2.0 first since Elasticsearch backend implementation was introduced there. |
thank you , now I uphrade to Grafana V5.2.0 already. I build it with source code, I want to debug the backend code, I had config the .ini file with debug level ,but I can not see the debug message on console, I need some help now , thanks. |
The elasticsearch backend code is only executed for evaluating alert rules at the moment. When you render graphs in Grafana the frontend code is solely used. We want to change this eventually and make it solely a backend implementation, but no idea of when this will happen. |
I set level=debug in .ini file, bug the debug messages were not print on console? |
How are you executing your elasticsearch queries? Thru alerting? As I wrote earlier you wont get any debug messages if you only render a graph in Grafana UI since the backend elasticsearch is not in play then. |
Please read my comments. You wont get any debug messages if you only render a graph in Grafana UI. You need to create an alert rule and when that alert rule is evaluated the backend elasticsearch code will be executed and you'll see debug log messages. |
I got it, Thanks a lot! |
how can show the log on console?
I want to see client.go log with debug on console?but how ?I can not see these messages below.
The text was updated successfully, but these errors were encountered: