Disqus が作っている Sentry というツールが凄そうというお話。 # 元 Disqus の社員さんだったみたい Sentry って何かというと "Sentry is a realtime event logging and aggregation platform." と書いてる通りアプリケーションからイベントログを送信して、それを表示してくれるもの。 Sentry | Error Tracking Software — JavaScript, Python, PHP, Ruby, more サービスとして課金をして利用もできるが、OSS になっているので自分で構築する事も出来る。 GitHub - getsentry/sentry: Sentry is cross-platform application monitoring, with a focus on error re
2013年02月09日22:30 カテゴリTipsLightweight Languages regexp - で Apache Combined Log を Parse する けだし同感。 ましてや Apache Combined Log を LTSV に を書いた後では。 combined2ltsv.plの最初のバージョンのparserはこうなっていました。 sub parse_line_ng { my $line = shift; my %rec; ( $rec{host}, $rec{ident}, $rec{user}, $line ) = split ' ', $line, 4; $line =~ s/^(\[.*?\]) //; $rec{time} = $1; $line =~ s/^\"(.*?)\" //; $rec{req} = $1; ( $rec{status},
MySQLスローログの手動ローテート 2012-11-13 MySQLのスローログは、通常それほど大量に出るものではないからか、自動でローテートされるような設定は特にない。しかし、負荷が上がったりしてスローログが大量に出てしまい、ローテートしたい場合はよくあるだろう。手動でローテートする場合は以下のように行う。 この例は、MySQLのデータディレクトリ(datadir)が /var/lib/mysql で、スローログファイル名(slow_query_log_file)がmysql-slow.logの場合。 $ cd /var/lib/mysql $ mv mysql-slow.log mysql-slow.log.old $ mysqladmin flush-logs または mysql> flush logs; mysqladmin flush-logs あるいは flush logs
Apacheログを効率よく解析するのは、SEO対策の面でも、パフォーマンス チューニングの面でも、かなり有効です。Apacheで一般的に使われるのはcommonとcombined形式のアクセスログで、かつcombinedio形式を独自にカスタマイズしたものなども使われます。とりあえず、一般的なcommon形式とcombined形式を正規表現化してみましょう。 commonの場合、 ^([0-9]{,3}\.[0-9]{,3}\.[0-9]{,3}\.[0-9]{,3}) ([^ ]{1,}) ([^ ]{1,}|\-) \[([0-9]{2}\/[A-Za-z]{3}\/[0-9]{1,4}:[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2} [+\-][0-9]{4})\] "([A-Z ]+) ([^"]*) ([^"]*)" ([0-9]{3}) ([0-9]{1,}|
You can download free fully functional 30-day trial version of WebLog Expert Std/Pro/Ent. The program is also an IIS log analyzer, it can analyze IIS log files in W3C Extended format. The program supports Combined and Common log formats of the Apache web server. We recommend you to use the Combined log format because the Common log format doesn't contain information about referrers and user agents
Software Design 2011年2月号 の第一特集内でちょろっと紹介されてた、Logtool を触ってみました。 man logtool すると "logtool - parse and filter syslog files" と記載されている通り、syslog形式やmultilog形式のログ出力をパース、フィルタしてくれるプログラムです。 安定版は 1.2.x tree, 1.2.8 (2005年リリースだけど...) をダウンロードして、RPMパッケージングしてインストールしました。 同梱されていたspecファイルちょっといじる必要ありました。2005年だけあってspecファイルのフォーマットが若干古い。 余談ですが、logtool作者がRedHatのライセンスやポリシーに怒ってシステム全部Debianにしたよ!RPMなんかメンテしねーよ! って書いてあった。何があったんだ
xField wiki へようこそ サーバーのアップグレードに伴い、wikiエンジンが起動しなくなったので、別のエンジンを使って新たに始めます。 旧Wikiにあったコンテンツは、データベースから抜き出して /旧Wikiより に入れました。 機械的にMediaWikiからMarkdownに変換したものなのでおかしいところがあるかもしれません。 また作成時点の内容になるので現時点では古い内容になっているものが含まれていることが想定されます。 参考にされる場合はご注意ください。 このサイトはwikiエンジンとしてGROWIを使っています wikiエンジンを変えるに当たって考えたのはMarkdownを使って書けるものです。 最近メモを書くときは Markdown を使うことが増えているので wiki も同じ形で書けると便利なためです。 ブログも併設しています xField blog コンテンツリス
Overview So what do you need to know to handle log rotation for nginx? The official answer from Igor Sysoev (the nginx lead developer) can be found here. In short, the sequence you must follow is: Move (or otherwise process) the old log file Send the nginx master process a USR1 signal logrotate setup There are many ways that this kind of processing can be automated but I use logrotate. On RHEL 5.1
The Webalizer is a fast, free web server log file analysis program. It produces highly detailed, easily configurable usage reports in HTML format, for viewing with a standard web browser. Is written in C to be extremely fast and highly portable. On my 1.6Ghz laptop, it can process close to 70,000 records per second, which means a log file with roughly 2 million hits can be analyzed in about 30 sec
Table of Contents Name visitors - a fast web server log analyzer Synopsis visitors [options] <filename> [<filename> ...] Description Visitors generates access statistics from specified web log files. The resulting reports contain a number of useful informations and statistics: Requested pages Requested images Referers by number of visits and age Unique visitors in each day Page views per visit Pag
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く