I need to send istio access log , as nignx, traefik access log with json format into fluentd, how to do?
My istio version is 1.4.0, run kubectl apply -f samples/bookinfo/telemetry/fluentd-istio-crd.yaml, but get errors:
unable to recognize “samples/bookinfo/telemetry/fluentd-istio-crd.yaml”: no matches for kind “logentry” in version “config.istio.io/v1alpha2”
unable to recognize “samples/bookinfo/telemetry/fluentd-istio-crd.yaml”: no matches for kind “fluentd” in version “config.istio.io/v1alpha2”
and in samples/bookinfo/telemetry/fluentd-istio-crd.yaml
Configuration for a Fluentd handler
apiVersion: “config.istio.io/v1alpha2”
kind: fluentd
metadata:
name: handler
namespace: istio-system
spec:
address: “fluentd-server:24224”
no tag variable , any advise?