ログをパースしてステータスコードが2XXなログをカウントする。
parse '* - * [*] "* * *" * * * *' as host, identity, dateTimeString, httpVerb, url, protocol, statusCode, bytes, Referer, UserAgent
| sort dateTimeString desc
| filter statusCode like /(2\d\d)/
| count()
期間を指定する
parse '* - * [*] "* * *" * * * *' as host, identity, dateTimeString, httpVerb, url, protocol, statusCode, bytes, Referer, UserAgent
| sort dateTimeString desc
| filter statusCode like /(2\d\d)/
parse '* - * [*] "* * *" * * "*" "*" "*"' as host, identity, dateTimeString, httpVerb, url, protocol, statusCode, bytes, Referer, UserAgent, ClientIp
urlでユニークカウント
parse '* - * [*] "* * *" * * "*" "*" "*"' as host, identity, dateTimeString, httpVerb, url, protocol, statusCode, bytes, Referer, UserAgent, ClientIp
| sort dateTimeString desc
| filter statusCode like /(4\d\d)/
| count() as count by url