Skip to content

Commit

Permalink
Add node about IP configuration for loki-url
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianJKoopman committed Aug 12, 2020
1 parent 7b85993 commit 4ca73f0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/user/logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ log-options anchor, which you should also add to you Compose file::
options:
loki-url: "http://localhost:3100/loki/api/v1/push"

.. note::
The ``loki-url`` here must match the address of the node you are running
the grafana/loki container on. In this case that is ``localhost``, but if you
have a multi-node configuration this could be a different IP address.

You should then add the ``log-options`` alias to any service which you would
like to forward their logs to Loki.

Expand Down

0 comments on commit 4ca73f0

Please sign in to comment.