Hi there,
Looked around but couldnt find a similar problem documented. Any help on this would be very appreciated :
We’ve got a couple of grafana instances setup in very similar way and want to use the grafana log to track dashboard interactions.
We gather with an ELK stack these log entries :
t=2019-06-05T14:44:37-0400 lvl=info msg=“Request Completed” logger=context userId=10 orgId=1 uname=st.langlois@xxxxx.COM method=GET path=/d/ldpG0OTmk/devices-list-of-clients status=200 remote_addr=10.xxx.xxx.43 time_ms=24 size=110058 referer=
t=2019-06-05T14:44:38-0400 lvl=info msg=“Request Completed” logger=context userId=10 orgId=1 uname=st.langlois@xxxxx.COM method=GET path=/api/dashboards/uid/ldpG0OTmk status=200 remote_addr=10.xxx.xxx.43 time_ms=4 size=15121 referer=“https://idp-gto-dev.ent.xxxxx/d/ldpG0OTmk/devices-list-of-clients?orgId=1”
We have no problem seeing these entries in our DEV env, but when looking at our other server, these lines do not show up at all in the grafana.log file (but we do see code 404, for IE users) :
t=2019-06-05T13:44:24-0400 lvl=info msg=“HTTP Server Listen” logger=http.server address=0.0.0.0:3000 protocol=http subUrl= socket=
t=2019-06-05T13:44:29-0400 lvl=info msg=“Request Completed” logger=context userId=17 orgId=1 uname=st.langlois@xxxxxx.COM method=GET path=/d/ldpG0OTmk/public/img/fav32.png status=404 remote_addr=10.xxx.242.43 time_ms=16 size=110520 referer=
t=2019-06-05T13:44:47-0400 lvl=info msg=“Request Completed” logger=context userId=17 orgId=1 uname=st.langlois@xxxxxx.COM method=GET path=/d/YR8jnQTik/public/img/fav32.png status=404 remote_addr=10.xxx.242.43 time_ms=26 size=110520 referer=
Both instances have the same configuration, with the log settings all set to default, level is “info”.
Not sure if that makes a difference, but both instance have an httpd auth proxy running in front.
RewriteRule .* - [E=PROXY_USER:%{LA-U:REMOTE_USER},NS]
RequestHeader set X-WEBAUTH-USER “%{PROXY_USER}e”
Not sure why the entries are showing in one instance but not the other. As i said earlier, any leads would be appreciated. Thanks