Logstash cheat sheet: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 18: Line 18:
java の shipper は重たい。 pure ruby の shipper や、専用の shipper があるっぽい。
java の shipper は重たい。 pure ruby の shipper や、専用の shipper があるっぽい。


== lightweight shipper ==
redis にいれる lightweight shipper  
redis にいれる lightweight shipper  
  [https://github.com/josegonzalez/beaver beaver : python daemon that munches on logs and sends their contents to logstash]
  [https://github.com/josegonzalez/beaver beaver : python daemon that munches on logs and sends their contents to logstash]


udp で直接ぶち込むには
-F string -t udp


[http://graylog2.org/ Graylog2 - Free open source self-hosted log management and exception tracking] も試してみよう...
== filter 系 ==
各種ログのパターンのメモ
 
apache error log 系
[https://gist.github.com/semiosis/1346387 Logstash parser for ModSecurity/CRS entries in the Apache ErrorLog]