steps for demo setup KubeArmor Datasource with sample KubeArmor logs
- Build the plugin as mentioned in the README.md
- run
docker-compose up
to start grafana and elasticsearch - run postlogs.sh to post KubeArmor logs to elasticsearch. Make sure you have
jq
installed for parsing - Go to datasources section in the url field add
http://elasticsearch:9200
and select Elasticsearch in Backend option and click test datasource. If sucessful follow the next steps. - Go to dashboard and create visualization with the KubeArmor datasource and select NodeGraph panel to view the graph.
This video illustrates the steps mentioned above, making the process easier to understand.