Open switz opened 1 year ago
Is there any way to map the hostnames of containers dynamically?
I have a bunch of containers called things like:
hello-world----worker1.fidk2md92mz hello-world----otherworker.md9sdfm2
and I'd love to replace those hostnames in my logs as just worker1 or worker1.fidk (first four characters after period)
worker1
worker1.fidk
Is that possible via logspout?
Is there any way to map the hostnames of containers dynamically?
I have a bunch of containers called things like:
and I'd love to replace those hostnames in my logs as just
worker1
orworker1.fidk
(first four characters after period)Is that possible via logspout?