Hello Could somebody show an example how to confi...
# fluent-operator
y
Hello Could somebody show an example how to configure usage of DataSream in Elasticsearch output? Can't find it in official operator/fluentbit manual but seems this feature is supported.
Links are also highly appreciated.
My ES section looks as follow:
Copy code
es:
    bufferSize: 20MB
    generateID: true
    host: fluentbit-es-es-http.fluent.svc
    index: my_new_index
    port: 9200
    replaceDots: false
    suppressTypeName: "On"
    timeKey: '@timestamp'
    type: create
I suppose
type: create
and
index: <name>
influences on this. But such config creates just plain ES index and not datastream. Does ES datastream need to be created before sending anything there?
Well I see that Index Template for datastream needs to be created before sending something inside of it (otherwise just plain index will be created). But as I can see there is no alternative for
index
option like
LogstashPrefixKey: kubernetes['labels']['<http://app.kubernetes.io/name|app.kubernetes.io/name>']
so right now only one datastream is supported with such scheme.
e
You can refer to this