This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<source> | |
type tail | |
path /hoge/fuga/tornado.log | |
pos_file /var/log/td-agent/tornado.log.pos | |
tag tornado | |
format multiline | |
format_firstline /^\[/ | |
format1 /^\[(?<levelname>[^ ]*) (?<time>[^ ]* [^ ]*) (?<module>[^:]*):(?<lineno>[^\]]*)\] ((?<code>[^ ]*) (?<method>[^ ]*) (?<path>[^ ]*) \((?<host>[^\)]*)\) (?<responsetime>\S*)|(?<message>.*?))$/ | |
format2 /(?<traceback>.*)/ | |
time_format %y%m%d %H:%M:%S |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Repo update | |
#sudo apt-get update | |
# Install Databases | |
# COUCHDB | |
#sudo apt-get install -y couchdb | |
# MONGODB | |
#sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "ubuntu/trusty64" | |
config.vm.network "public_network" | |
config.vm.provider "virtualbox" do |v| | |
v.name = "vagrant_ubuntu14.04" | |
v.memory = 2048 |
NewerOlder