Sha256: 6acf4f970c69012dbf30e6e89d35489085074dd2b4d7f0e6722b2b4ef5f543d8

Contents?: true

Size: 583 Bytes

Versions: 1

Compression:

Stored size: 583 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}'
    }
  }

  stdout {
    codec => rubydebug
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
logstash-output-elasticsearch_groom-0.1.0 example.conf