Sha256: 62cf1a29b6b9b2990b901060dcdbe2175a05c11f202807d73ed8bafa3ee35a79

Contents?: true

Size: 1.46 KB

Versions: 4

Compression:

Stored size: 1.46 KB

Contents

<source>
  @type forward
  port 24224
</source>

<filter messages>
  @type parser
  format grok
  <grok>
    pattern %{COMBINEDAPACHELOG:message}
    time_format "%d/%b/%Y:%H:%M:%S %z"
  </grok>
  key_name message
</filter>

<filter messages>
  @type geoip
  log_level error
  enable_auto_download true
  md5_url http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.md5
  download_url http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz
  md5_path "#{ENV['HOME']}/fluentd/geoip/database/GeoLite2-City.md5"
  database_path "#{ENV['HOME']}/fluentd/geoip/database/GeoLite2-City.mmdb"
  lookup_field clientip
  output_field geoip
  field_delimiter _
  flatten true
  locale en
  continent true
  country true
  city true
  location true
  postal true
  registered_country true
  represented_country true
  subdivisions true
  traits true
  connection_type true
</filter>

<filter messages>
  @type record_transformer
  log_level error
  enable_ruby
  <record>
    event_timestamp ${timestamp}
    geoip_localtion_latitude_longitude ${geoip_location_latitude.nil? || geoip_location_longitude.nil? ? nil : geoip_location_latitude.to_s + ',' + geoip_location_longitude.to_s}
  </record>
</filter>

<match messages>
  @type solr
  log_level error
  zk_host "#{ENV['SOLR_ZK_HOST']}"
  collection "#{ENV['SOLR_COLLECTION']}"
  ignore_undefined_fields false
  flush_size 100
  buffer_type memory
  buffer_queue_limit 64m
  buffer_chunk_limit 8m
  flush_interval 10s
</match>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fluent-plugin-output-solr-0.4.4 fluent.conf
fluent-plugin-output-solr-0.4.3 fluent.conf
fluent-plugin-output-solr-0.4.2 fluent.conf
fluent-plugin-output-solr-0.4.1 fluent.conf