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 .PHONY: build push
IMAGE = fluentd-elasticsearch IMAGE = fluentd-elasticsearch
TAG = 1.7 TAG = 1.8
build: build:
docker build -t gcr.io/google_containers/$(IMAGE):$(TAG) . docker build -t gcr.io/google_containers/$(IMAGE):$(TAG) .
......
...@@ -81,6 +81,22 @@ ...@@ -81,6 +81,22 @@
<source> <source>
type tail type tail
format none 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 path /varlog/startupscript.log
pos_file /varlog/es-startupscript.log.pos pos_file /varlog/es-startupscript.log.pos
tag startupscript tag startupscript
......
...@@ -6,7 +6,7 @@ metadata: ...@@ -6,7 +6,7 @@ metadata:
spec: spec:
containers: containers:
- name: fluentd-elasticsearch - name: fluentd-elasticsearch
image: gcr.io/google_containers/fluentd-elasticsearch:1.7 image: gcr.io/google_containers/fluentd-elasticsearch:1.8
resources: resources:
limits: limits:
cpu: 100m 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