logspout
logspout copied to clipboard
Map hostnames dynamically?
trafficstars
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)
Is that possible via logspout?