Sign inSign up

instedd/filebeat-curator

By instedd

Updated over 7 years ago

Container to cleanup index logs from Elasticsearch

Image
0

100K+

instedd/filebeat-curator repository overview

filebeat-curator

This container uses Elasticsearch Curator to delete old Filebeat indexes

Configuration

Some configuration can be tuned with the following environment variables

VariableRequiredDescriptionDefault
ES_HOSTYesThe host of the Elasticsearch serverelasticsearch
ES_PORTNoThe port of the Elasticsearch server443
ES_PREFIXNoPrefix to append to the URLs(none)
ES_SSLNoUse SSL to connect to ElasticsearchTrue
DAYSNoDelete indices older than this number of days30

Rancher

In Rancher, it can be used in combination with the built-in cron service to run automatically every day. Just make sure the Container Crontab service is running in your environment. It can be easily started from the catalog.

version: '2'
services:
  curator:
    image: instedd/filebeat-curator
    environment:
      ES_HOST: elasticsearch.domain.com
      DAYS: '15'
    labels:
      io.rancher.container.start_once: 'true'
      io.rancher.container.pull_image: always
      cron.schedule: '@daily'

Tag summary

Content type

Image

Digest

Size

33.7 MB

Last updated

over 7 years ago

docker pull instedd/filebeat-curator