Skip to content

Commit

Permalink
Add a prefix to the POS file for Fluentd to Elasticsearch
Browse files Browse the repository at this point in the history
  • Loading branch information
satnam6502 committed Mar 17, 2015
1 parent a62673d commit 985d5c1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.PHONY: build push

TAG = 1.2
TAG = 1.3

build:
sudo docker build -t kubernetes/fluentd-elasticsearch:$(TAG) .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
format json
time_key time
path /var/lib/docker/containers/*/*-json.log
pos_file /var/lib/docker/containers/containers.log.pos
pos_file /var/lib/docker/containers/es-containers.log.pos
time_format %Y-%m-%dT%H:%M:%S
tag docker.*
read_from_head true
Expand All @@ -62,7 +62,7 @@
type tail
format none
path /varlog/kubelet.log
pos_file /varlog/kubelet.log.pos
pos_file /varlog/es-kubelet.log.pos
tag kubelet
</source>

Expand Down
2 changes: 1 addition & 1 deletion cluster/saltbase/salt/fluentd-es/fluentd-es.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: v1beta2
id: fluentd-to-elasticsearch
containers:
- name: fluentd-es
image: kubernetes/fluentd-elasticsearch:1.2
image: kubernetes/fluentd-elasticsearch:1.3
env:
- name: FLUENTD_ARGS
value: -qq
Expand Down

0 comments on commit 985d5c1

Please sign in to comment.