用途监控redis数据配置示例input { redis { data_type => "list" key => "logstash-demo" host => "127.0.0.1" port => 6379 thread......
用途监控syslog,监控系统运行情况配置示例input { syslog { port => 5000 type => "demo-syslog" }}output { stdout { codec => rubydebug ......
用途生成测试数据配置示例input { generator { count => 100 message => 'hello world' codec => json }}output { stdout { codec ...
配置示例input {stdin {type => "demo-stdin"add_field => {"test" => "hello"} codec => "plain"tags => ["stdin-test"]}}output {stdout{codec......
监听文件变化,记录一个.sincedb的数据库文件跟踪监听文件读取位置(记录的是时间戳)配置案例input { file { path => ["/data/test/test/*.log"] type => "demo-log" start_position => "beginning" }}ou......
一、logstash启动测试在logstash目录执行bin/logstash -e 'input{stdin{}}output{stdout{codec=>rubydebug}}'然后输入1返回{ "@timestamp" => 2017-06-11T14:35:00.816Z, "@v......
配置input { udp { port => 12000 codec => collectd {} type => "collectd-demo" }}output { stdout { codec => rubydebug...
用途应用日志多行打印配置logstashinput { file { path => ["/data/test/test/test.log"] type => "demo-codec-multiline-log" start_position => "beg......
没找到这篇文章的原文