January 2019
Intermediate to advanced
484 pages
11h 48m
English
Rules are the binding between a template and a handler. If we already have an accesslog, logentry and a fluentd handler in the previous examples, then a rule such as this one associates the two entities:
apiVersion: config.istio.io/v1alpha2kind: rulemetadata: name: accesslogtofluentd namespace: istio-systemspec: match: "true" actions: - handler: fluentd instances: - accesslog.logentry
Once the rule is applied, the mixer knows it should send the access logs in the format defined previously to the fluentd at fluentd-aggegater-svc.logging:24224.
The example of deploying a fluentd instance that takes inputs from the TCP socket can be found under 7_3efk/logging-agent/fluentd-aggregator (https://github.com/PacktPublishing/DevOps-with-Kubernetes-Second-Edition/tree/master/chapter7/7-3_efk/logging-agent/fluentd-aggregator ...
Read now
Unlock full access