Add k8s.ns.name to output when -k flag passed (#472)

This commit is contained in:
Michael Ducy 2018-11-27 19:44:01 -06:00 committed by Mark Stemm
parent e4e6d8845d
commit 67cde2980d

View File

@ -559,7 +559,7 @@ int falco_init(int argc, char **argv)
}
else if(string(optarg) == "k" || string(optarg) == "kubernetes")
{
output_format = "k8s.pod=%k8s.pod.name container=%container.id";
output_format = "k8s.ns=%k8s.ns.name k8s.pod=%k8s.pod.name container=%container.id";
replace_container_info = true;
}
else if(string(optarg) == "m" || string(optarg) == "mesos")