Skip to content

Instantly share code, notes, and snippets.

kind: ConfigMap
apiVersion: v1
data:
containers.input.conf: |-
<source>
type tail
format json
time_key time
path /var/log/containers/*.log
pos_file /var/log/gcp-containers.log.pos
spec:
containers:
- image: mysql:5.6
name: mysql
env:
- name: MYSQL_ROOT_PASSWORD
valueFrom:
secretKeyRef:
name: mysql
key: password
@tanan
tanan / Gemfile
Last active January 15, 2018 08:27
source 'https://rubygems.org'
gem 'fluentd', '~>0.14.0'
gem 'fluent-plugin-bigquery', '~>1.1.1'
gem 'fluent-plugin-record-reformer', '~>0.8.3'
gem 'fluent-plugin-systemd', '~>0.0.8'
gem 'fluent-plugin-google-cloud', '~>0.6.12'
gem 'fluent-plugin-detect-exceptions', '~>0.0.8'
gem 'fluent-plugin-prometheus', '~>0.2.1'
gem 'fluent-plugin-multi-format-parser', '~>0.1.1'