-
Notifications
You must be signed in to change notification settings - Fork 82
Elasticsearch
Frank Jogeleit edited this page Jul 23, 2021
·
3 revisions
Send new PolicyReport Results to Elasticsearch with all available information. You can configure the created index name. Configure a rotation to create a new index on daily
, monthly
or annually
basis or none
too disable rotation (default dayli
).
Enable Elasticsearch by configure your Elasticsearch Instance under target.elasticsearch.host
.
helm install policy-reporter policy-reporter/policy-reporter --set target.elasticsearch.host=http://elasticsearch:9200 -n policy-reporter --create-namespace
- Configure
target.elasticsearch.index
to customize the elasticsearch index. - Configure
target.elasticsearch.rotation
is added as suffix to the index. Possible values aredaily
,monthly
,annually
andnone
,dayli
is the default. - Configure
target.elasticsearch.minimumPriority
to send only results with the configured minimumPriority or above, empty means all results. (info < warning < error) - Configure
target.elasticsearch.skipExistingOnStartup
to skip all results who already existed before the PolicyReporter started (default:true
).
# values.yaml
target:
elasticsearch:
host: ""
index: "policy-reporter"
rotation: "daily"
minimumPriority: ""
skipExistingOnStartup: true