An existing Grey Matter deployment running on Kubernetes (tutorial)
kubectl or oc setup with access to the cluster
greymatter cli setup with access to the deployment
An ELK stack or a running Kafka cluster that is reachable from your Grey Matter deployment.
Steps
1. Enable the observables filters
Choose a running Grey Matter sidecar to configure audits on. Get the listener_key for its ingress listener (run greymatter list listener | grep listener_key to see all keys), and run the following to enable the observables filter:
greymattereditlistener<listener-key>
Add "gm.observables" to the existing list of active_http_filters. Change the topic field of the following configuration to your service name and add it to the http_filters map, so that the listener object looks like:
Note: If you are pointing at a Kafka cluster not configured with the ELK stack guide, replace the kafkaServerConnection with the correct address for your servers.
2. Test and verify
Make a request to the service on which you enabled the observables filter. In the service logs, you should see: