Sha256: 978058e94849a8b6d01d4aaeecaa541df9fc99e2c5207205189a0c48c3e23ff8
Contents?: true
Size: 1.49 KB
Versions: 1
Compression:
Stored size: 1.49 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 commit_with_flush true </match>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fluent-plugin-output-solr-0.4.5 | fluent.conf |