Sha256: 1d021c3f1e022dd91bb88c9ba1ae0fe92a0233b1f0b241ff5e4eb2b7ae84ce0e

Contents?: true

Size: 544 Bytes

Versions: 5

Compression:

Stored size: 544 Bytes

Contents

input {
  heartbeat {
    type => 'groom'
    interval => 11
    add_field => {
      scope => 'open'
      cutoff => '2w'
      action => 'close'
    }
  }

  heartbeat {
    type => 'groom'
    interval => 12
    add_field => {
      scope => 'closed'
      cutoff => '4w'
      action => 'delete'
    }
  }
}

output {

  if [type] == 'groom' {
    elasticsearch_groom {
      host => 'localhost:9200'
      index => 'logstash-%{+YYYY.MM.dd}'
      scope => '%{scope}'
      age_cutoff => '%{cutoff}'
      action => '%{action}'
    }
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
logstash-output-elasticsearch_groom-0.2.0 example.conf
logstash-output-elasticsearch_groom-0.1.4 example.conf
logstash-output-elasticsearch_groom-0.1.3 example.conf
logstash-output-elasticsearch_groom-0.1.2 example.conf
logstash-output-elasticsearch_groom-0.1.1 example.conf