17. log group / log stream
¢ ログはlog groupごとにI尖
o 辛晒?グラフ晒?O
o API貧ではstream阿縫蹈阿糧ゝ辰録苗
¢ log groupにlog streamが奉する
o プログラムはlog streamにイベントを誘げる
o 1スレッド★1ストリ`ム
43. Radiosonde / Meteorlog
仝AWSコ`ド晒々シリ`ズ
¢ Radiosonde
o CloudWatchのAlartの砿尖
¢ Meteorlog
o CloudWatch Logsの砿尖
44. Radiosonde / Meteorlog
Meteorlog
https://github.com/winebarrel/meteorlog
log_group "any-group" do
log_stream "my-stream"
# Please write the following if you do not want to manage log_streams
#any_log_streams
metric_filter "MyAppAccessCount" do
# see http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/FilterAndPatternSyntax.html
filter_pattern '[ip, user, username, timestamp, request, status_code, bytes > 1000]'
metric :name=>"EventCount", :namespace=>"YourNamespace", :value=>"1"
end
metric_filter "MyAppAccessCount2" do
metric :name=>"EventCount2", :namespace=>"YourNamespace2", :value=>"2"
endend