Hi,

Did you login to the grafana dashboard? For centralized logging you'll need
to login to the
grafana using your grafana username and password. If you do that and
refresh the dashboard,
I think the Loki page should be visible from the Daemon Logs page.

Regards,
Nizam

On Wed, Nov 16, 2022 at 7:31 PM E Taka <0eta...@gmail.com> wrote:

> Ceph: 17.2.5, dockerized with Ubuntu 20.04
>
> Hi all,
>
> I try to enable the Centralized Logging in Dashboard as described in
>
>
> https://docs.ceph.com/en/quincy/cephadm/services/monitoring/#cephadm-monitoring-centralized-logs
>
> Logging inti files is enabled:
>   ceph config set global log_to_file true
>   ceph config set global mon_cluster_log_to_file true
>
> Loki is deployed at one host, promtail on every host:
>
>
> service_type: loki
> service_name: loki
> placement:
>  hosts:
>  - ceph00
> ---
> service_type: promtail
> service_name: promtail
> placement:
>  host_pattern: '*'
>
>
> After applying the YAML above the log messages in »ceph -W cephadm« look
> good (deploying loki+promtail and reconfiguring grafana). But the Dashboard
> "Cluster → Logs → Daemon Logs" just shows a standard grafana page without
> any buttons for the Ceph Cluster. Its URL is https://ceph00.
>
> [mydomain]:3000/explore?orgId=1&left=["now-1h","now","Loki",{"refId":"A"}]&kiosk.
>
> Did I miss something for the centralized Logging in the Dashboard?
>
> Thank!
> _______________________________________________
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
>
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to