Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: modules/adblockplus/templates/log/fluentd/forwarder.conf.erb

Issue 29339248: Issue 3305 - Introduce adblockplus::log::tracker and ::forwarder (Closed)
Patch Set: Created April 1, 2016, 9:12 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # Puppet: Class['<%= @title %>']
2 <label <%= scope.lookupvar('adblockplus::log::name') %>>
3 <match **>
4
5 # http://docs.fluentd.org/articles/out_forward
6 @type forward
7
8 <server>
9 name adblockplus-log-master
10 host <%= @host %>
11 port <%= @port %>
12 </server>
13
14 # http://docs.fluentd.org/articles/buf_file
15 buffer_type file
16 buffer_path /var/run/<%= scope.lookupvar('adblockplus::log::agent') %>/forw arder.*
17
18 # http://docs.fluentd.org/articles/out_file
19 <secondary>
20 @type file
21 append
22 flush_at_shutdown
23 path /var/log/<%= scope.lookupvar('adblockplus::log::agent') %>/rejected
24 time_slice_format %Y%m%d
25 utc
26 </secondary>
27
28 </match>
29 </label>
30
OLDNEW

Powered by Google App Engine
This is Rietveld