Closed bashhu closed 8 years ago
i have a question: run.log each line is a json, logstash "input"
input{ file { type => "run-log" path => "/data/log/run.log" codec => "json" } }
that "output"
output{ if [type] == "run-log" { webhdfs { host => "192.168.9.7" user => "hue" path => "/user/hue/run-log" } } }
the hadoop "hadoop fs -tail /user/hue/run-log" 2016-05-06T07:06:43.332Z app-node4.nginxs.net %{message}
2016-05-06T07:06:43.332Z app-node4.nginxs.net %{message}
My configuration is wrong? Please tell me,thinks
How to format data is not about this module, but about logstash output plugin. Ask the logstash community or repository of that plugin for your problem.
think you
i have a question: run.log each line is a json, logstash "input"
that "output"
the hadoop "hadoop fs -tail /user/hue/run-log"
2016-05-06T07:06:43.332Z app-node4.nginxs.net %{message}
My configuration is wrong? Please tell me,thinks