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/bin/env ruby | |
STDIN.each do |line| | |
puts line.sub(/"(?:(PUT|POST|GET|HEAD|DELETE|OPTIONS) ([^\s]*)) (HTTP\/\d\.\d)" (\d+)/, "\"\e[1;31m\\1\e[0m \e[1;32m\\2\e[0m \\3\" \e[1;33m\\4\e[0m") | |
end |
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 *> | |
type copy | |
<store> | |
type forest | |
subtype elasticsearch | |
<template> | |
id es-test01.${tag} | |
include_tag_key true | |
tag_key @tag | |
host 127.0.0.1 |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<zabbix_export> | |
<version>2.0</version> | |
<date>2015-02-01T05:44:35Z</date> | |
<groups> | |
<group> | |
<name>Service Templates</name> | |
</group> | |
</groups> | |
<templates> |
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
version: '2' | |
services: | |
zabbix_db: | |
container_name: zabbix_db | |
image: mysql:5.7 | |
command: mysqld --character-set-server=utf8 --collation-server=utf8_unicode_ci | |
volumes: | |
- zabbix_storage_db:/var/lib/mysql | |
- /etc/localtime:/etc/localtime:ro | |
ports: |