curator job from logsearch/208.0.0
Github source:
c2c82cac
or
master branch
Properties¶
curator
¶
actions
¶List of Elasticsearch Curator actions in YAML format.
- Example
|+ - action: delete_indices description: >- Delete indices older than 45 days (based on index name), for logstash- prefixed indices. Ignore the error if the filter does not result in an actionable list of indices (ignore_empty_list) and exit cleanly. options: ignore_empty_list: True disable_action: True filters: - filtertype: pattern kind: prefix value: logstash- - filtertype: age source: name direction: older timestring: '%Y.%m.%d' unit: days unit_count: 45
elasticsearch
¶
hosts
¶IP address of elasticsearch host to proxy requests for (eg, 127.0.0.1)
- Default
- 127.0.0.1
port
¶Port address of elasticsearch host to proxy requests for (eg, 9200)
- Default
9200
logformat
¶This should default, json, logstash.
- Default
default
loglevel
¶Set the minimum acceptable log severity to display.
- Default
INFO
purge_logs
¶
retention_period
¶The value of this setting will be used as a multiplier for unit
- Default
30
unit
¶One of the following values: seconds, minutes, hours, days, weeks, months, years
- Default
days
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/curator/
directory
(learn more).
bin/curator_ctl
(frombin/curator_ctl
)bin/run
(frombin/run
)config/actions.yml
(fromconfig/actions.yml.erb
)config/config.yml
(fromconfig/config.yml.erb
)config/purge_logs.cron
(fromconfig/purge_logs.cron
)data/properties.sh
(fromdata/properties.sh.erb
)helpers/ctl_setup.sh
(fromhelpers/ctl_setup.sh
)helpers/ctl_utils.sh
(fromhelpers/ctl_utils.sh
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.