Upgrade to Pro — share decks privately, control downloads, hide ads and more …

20140410_geechs_nanapi_pub.pdf

wadap
April 11, 2014

 20140410_geechs_nanapi_pub.pdf

wadap

April 11, 2014
Tweet

More Decks by wadap

Other Decks in Technology

Transcript

  1. 自己紹介 • 和田修一 / @wadap • 1981年生まれ(32歳) • 株式会社nanapi Co-Founder


    取締役 執行役員 CTO • インフラ〜サーバサイド開発 • emacs
  2. 以下のrecipeで実現 remote_file "/tmp/httpd-2.2.22.tar.gz" do source "http://ftp.meisei-u.ac.jp/httpd/httpd-2.2.22.tar.gz" owner "root" group "root"

    mode "0644" end ! script "install httpd" do interpreter "bash" user "root" cwd Chef::Config[:file_cache_path] ! code <<-EOH tar xf httpd-2.2.22.tar.gz && cd httpd-2.2.22 ./configure make && make test && make install EOH end
  3. Log System Overview Fluentd Cluster Web Servers raw log archive

    log analyzer fluentd-plugin-mysql fluentd-plugin-s3 fluentd-plugin-td Result Output S3 + Glacier Web Servers Web Servers fluentd-plugin-elasticsearch
  4. SQLで解析 $ td query -d db -w " SELECT *

    FROM tbl WHERE username = 'wadap'" -o ./result.csv