Commit cc02e50f authored by Alex Robinson's avatar Alex Robinson

Collect more of the VM's log files (monit, salt) in fluentd-es.

parent 7430181d
.PHONY: build push
IMAGE = fluentd-elasticsearch
TAG = 1.7
TAG = 1.8
build:
docker build -t gcr.io/google_containers/$(IMAGE):$(TAG) .
......
......@@ -81,6 +81,22 @@
<source>
type tail
format none
path /varlog/monit.log
pos_file /varlog/gcp-monit.log.pos
tag monit
</source>
<source>
type tail
format none
path /varlog/salt/minion
pos_file /varlog/gcp-salt.pos
tag salt
</source>
<source>
type tail
format none
path /varlog/startupscript.log
pos_file /varlog/es-startupscript.log.pos
tag startupscript
......
......@@ -6,7 +6,7 @@ metadata:
spec:
containers:
- name: fluentd-elasticsearch
image: gcr.io/google_containers/fluentd-elasticsearch:1.7
image: gcr.io/google_containers/fluentd-elasticsearch:1.8
resources:
limits:
cpu: 100m
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment