teragrep / k8s_01

kubelogreader: Kubernetes log reader
Apache License 2.0
0 stars 1 forks source link

prepend hardcoded string value to origin.hostname structured data #83

Closed kortemik closed 1 year ago

kortemik commented 1 year ago

add configuration variable

prefixOrigin = "myGroup/"

so it becomes

[origin@48577 hostname="myGroup/$hostname/$containerId"]

StrongestNumber9 commented 1 year ago

I'd split these to different entities entirely, more like [origin@48577 group="myGroup" hostname="$hostname" containerId="$containerId"]

kortemik commented 1 year ago

origin is already defined and in use, therefore we can not modify the schema. i propose that we add totally new key-value structure for transporting this kind of adhoc information