We all know that hosts and kubernetes have different metadata tags, so how do we store logs from two different places in one Loki? And how do we view them at the same time?
Labels are what you can use to separate log streams.
A simple example, for your container logs you might have labels such as container_name
, whereas your host-level logs wouldn’t.