mirror of
https://github.com/krislamo/puppet-fluentd
synced 2025-04-10 15:34:21 +00:00
prettified README.md
This commit is contained in:
parent
cec2c1c0c7
commit
99675255e5
40
README.md
40
README.md
@ -46,14 +46,14 @@ include '::fluentd'
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
**results in:**
|
**creates:**
|
||||||
```
|
```
|
||||||
/etc/td-agent/conf.d/10-source-test.conf
|
/etc/td-agent/conf.d/10-source-test.conf
|
||||||
<source>
|
<source>
|
||||||
type tail
|
type tail
|
||||||
format json
|
format json
|
||||||
path /var/log/test-application/*.json
|
path /var/log/test-application/*.json
|
||||||
tag application.test
|
tag application.test
|
||||||
</source>
|
</source>
|
||||||
```
|
```
|
||||||
#### Filter
|
#### Filter
|
||||||
@ -69,14 +69,14 @@ include '::fluentd'
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
**results in:**
|
**creates:**
|
||||||
```
|
```
|
||||||
/etc/td-agent/conf.d/20-filter-test.conf
|
/etc/td-agent/conf.d/20-filter-test.conf
|
||||||
<filter *.test>
|
<filter *.test>
|
||||||
type record_transformer
|
type record_transformer
|
||||||
<record>
|
<record>
|
||||||
hostname ${hostname}
|
hostname ${hostname}
|
||||||
</record>
|
</record>
|
||||||
</filter>
|
</filter>
|
||||||
```
|
```
|
||||||
#### Match
|
#### Match
|
||||||
@ -97,19 +97,19 @@ include '::fluentd'
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
**results in:**
|
**creates:**
|
||||||
```
|
```
|
||||||
/etc/td-agent/conf.d/30-match-test.conf
|
/etc/td-agent/conf.d/30-match-test.conf
|
||||||
<match *.test>
|
<match *.test>
|
||||||
flush_interval 30s
|
flush_interval 30s
|
||||||
type secure_forward
|
type secure_forward
|
||||||
secure yes
|
secure yes
|
||||||
shared_key my_shared_key
|
shared_key my_shared_key
|
||||||
self_hostname instance.test.com
|
self_hostname instance.test.com
|
||||||
ca_cert_path /path/to/ca.cert
|
ca_cert_path /path/to/ca.cert
|
||||||
<servers>
|
<servers>
|
||||||
host test.server.com
|
host test.server.com
|
||||||
</servers>
|
</servers>
|
||||||
</match>
|
</match>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user