Sha256: 1e69d3df2213d3a7eb76a83fb8f4587226c63d27cc4c5c2d290b9ad14bfe54fa
Contents?: true
Size: 916 Bytes
Versions: 3
Compression:
Stored size: 916 Bytes
Contents
# it is a sample to store batch process statistics into elasticsearch to visualize with kibana. # this guide using following plugins. # * fluent-plugin-watch-process # * fluent-plugin-record-reformer # * fluent-plugin-elasticsearch <source> type watch_process # specify output tag tag batch_process # filter specific user owned process. if no need to filter, delete this line. lookup_user batchuser # ps command execute interval time interval 10s </source> <match batch_process> type record_reformer output_tag reformed.${tag} enable_ruby false <record> # add hostname key into record hostname ${hostname} </record> </match> <match reformed.*> type elasticsearch host localhost port 9200 logstash_format true logstash_prefix logstash type_name batch # write record interval flush_interval 10sec </match>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fluent-plugin-watch-process-0.0.3 | example1.conf |
fluent-plugin-watch-process-0.0.2 | example1.conf |
fluent-plugin-watch-process-0.0.1 | example1.conf |