Sha256: 875f61ea56d201e5599a36d8b95f9a768d2e3db2beda85102fc0ee6aee0a6e43
Contents?: true
Size: 777 Bytes
Versions: 2
Compression:
Stored size: 777 Bytes
Contents
<source> @type tail path "#{ENV['GROONGA_QUERY_LOG_PATH'] || '/var/log/groonga/query.log'}" pos_file /var/log/fluentd/groonga-query-log.pos read_from_head "#{ENV['GROONGA_QUERY_LOG_READ_FROM_HEAD'] || 'false'}" tag groonga.query format none </source> <filter groonga.query> @type groonga_query_log </filter> <filter groonga.query> @type grep regexp1 slow \Atrue\z </filter> <filter groonga.query> @type record_transformer enable_ruby true renew_record true keep_keys elapsed <record> log ${JSON.generate(to_h)} </record> </filter> <match groonga.query> @type groonga store_table SlowQueries protocol http host 127.0.0.1 <buffer> @type file path /var/lib/fluentd/groonga.buffer flush_interval 1 </buffer> </match>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fluent-plugin-groonga-query-log-1.0.2 | sample/store-slow-query.conf |
fluent-plugin-groonga-query-log-1.0.1 | sample/store-slow-query.conf |