ElasticSearch GenId
ElasticsearchGenId
Example Elasticsearch Genid
filter configurations
apiVersion: logging.banzaicloud.io/v1beta1
kind: Flow
metadata:
name: demo-flow
spec:
filters:
- elasticsearch_genid:
hash_id_key: gen_id
selectors: {}
localOutputRefs:
- demo-output
Fluentd Config Result
<filter **>
@type elasticsearch_genid
@id test_elasticsearch_genid
hash_id_key gen_id
</filter>
Configuration
hash_id_key (string, optional)
You can specify generated hash storing key.
hash_type (string, optional)
You can specify hash algorithm. Support algorithms md5, sha1, sha256, sha512. Default: sha1
include_tag_in_seed (bool, optional)
You can specify to use tag for hash generation seed.
include_time_in_seed (bool, optional)
You can specify to use time for hash generation seed.
record_keys (string, optional)
You can specify keys which are record in events for hash generation seed. This parameter should be used with use_record_as_seed parameter in practice.
separator (string, optional)
You can specify separator charactor to creating seed for hash generation.
use_entire_record (bool, optional)
You can specify to use entire record in events for hash generation seed.
use_record_as_seed (bool, optional)
You can specify to use record in events for hash generation seed. This parameter should be used with record_keys parameter in practice.
Last modified March 12, 2024: Merge pull request #229 from kube-logging/pagefind-restructure (c4cf8da)