This file contains 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/local/etc/td-agent/td-agent.conf | |
<source> | |
type forward | |
port 24224 | |
</source> | |
<match td.*.*> | |
type tdlog | |
apikey YOUR_TD_API_KEY |
This file contains 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
var Bleacon = require('bleacon'); | |
Bleacon.startScanning(); | |
var logger = require('fluent-logger'); | |
logger.configure('td.YOUR_TD_DATABASE', {host: 'localhost', port: 24224}); | |
# start searching | |
Bleacon.on('discover', function(bleacon) { | |
# logging to Console | |
console.log(bleacon); |
This file contains 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
AWS設定 | |
ec2:Tokyo:t1.micro | |
AMI: Amazon Linux AMI 2013.03.1 64bit | |
Railsインストール | |
$ sudo yum install git | |
$ sudo yum -y install make | |
$ sudo yum -y install gcc | |
$ sudo yum -y install gcc-c++ | |
$ sudo yum -y install zlib-devel |
This file contains 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
1 | aaaa | 1371539506 | |
---|---|---|---|
2 | bbbb | 1371539506 | |
3 | cccc | 1371539506 |