kubearmor / kubearmor-log-client

KubeArmor Log Client (stdout / file)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Log Client

Log client collects the messages, alerts, and system logs from KubeArmor and stores them in the given log files (or prints them in the console).

Log Client Deployment

You can simply deploy the Log client for KubeArmor.

$ cd kubearmor-log-client/deployments
~/kubearmor-log-client/deployments$ kubectl apply -n [target namespace] -f client-deployment.yaml

Arguments

These are the default arguments.

args: ["-msgPath=stdout", "-logPath=stdout", "-logFilter=policy", "-json"]

If you want to change the default arguements, you can refer to the following arguments

-msgPath={stdout|logFilePath|none}
-logPath={stdout|logFilePath|none}
-logFilter={all|policy|system}
-json (if you want to see the messages, alerts, or logs in a raw format)

About

KubeArmor Log Client (stdout / file)

License:Apache License 2.0


Languages

Language:Go 81.6%Language:Makefile 9.7%Language:Shell 5.2%Language:Dockerfile 3.5%