$ mysql -uroot
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 359
Server version: 5.6.10-log MySQL Community Server (GPL)
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
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
### Test Run Command(テスト実行したコマンド) | |
curl http://localhost:8888/test -F 'json={"message":"foo"}' | |
### actual logging output(実際のログ出力) | |
2013-03-06 00:14:53 +0900 debug.mixin: {"message":"foo"} | |
### expected logging output(期待したログ出力) | |
2013-03-06 00:14:53 +0900 debug.mixin: {"message":"foo","my_tag":"test","my_time":"2013-03-05T15:14:53Z"} | |
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
$ rpm -qlpi vagrant_x86_64.rpm | |
Name : vagrant Relocations: / | |
Version : 1.1.0 Vendor: @localhost.localdomain | |
Release : 1 Build Date: Thu 14 Mar 2013 03:23:41 PM JST | |
Install Date: (not installed) Build Host: localhost.localdomain | |
Group : default Source RPM: vagrant-1.1.0-1.src.rpm | |
Size : 47447725 License: unknown | |
Signature : (none) | |
Packager : <@localhost.localdomain> | |
URL : http://example.com/no-uri-given |
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
<source> | |
type tail | |
path /var/log/httpd/error_log | |
format /^(\[(?<time>[^\]]*)\] \[(?<level>[^\]]+)\] (\[client (?<host>[^\]]*)\] )?(?<message>.*)|(?<message>.*))$/ | |
time_format %a %b %d %H:%M:%S %Y | |
tag apache.error | |
pos_file /var/log/td-agent/apache_error.pos | |
</source> | |
# 送り先を Fluentd の標準ログへ出力します |
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
# | |
# Nginx proxy for Elasticsearch + Kibana | |
# | |
# In this setup, we are password protecting the saving of dashboards. You may | |
# wish to extend the password protection to all paths. | |
# | |
# Even though these paths are being called as the result of an ajax request, the | |
# browser will prompt for a username/password on the first request | |
# | |
# If you use this, you'll want to point config.js at http://FQDN:80/ instead of |
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
# | |
<match apache.**> | |
@type copy | |
<store> | |
@type s3 | |
...snip... | |
buffer_path /var/log/fluent/s3_hourly | |
time_slice_format %Y%m%d%h | |
</store> |
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
# System secret ACL policy | |
--- | |
acl: | |
operators: | |
# TD | |
td: | |
secrets: | |
- td.* | |
td_load: | |
secrets: |
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
http { | |
include /etc/nginx/mime.types; | |
default_type application/octet-stream; | |
log_format ltsv 'domain:$host\t' | |
'host:$remote_addr\t' | |
'user:$remote_user\t' | |
'time:$time_local\t' | |
'method:$request_method\t' | |
'path:$request_uri\t' |
OlderNewer