/
fluent.conf
51 lines (45 loc) · 937 Bytes
/
fluent.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<source>
@type forward
@id input1
port 24224
</source>
<source>
@type syslog
@id input2
port 5140
tag syslog
<parse>
@type syslog
time_format %Y-%m-%dT%H:%M:%S.%L%z
</parse>
</source>
<source>
@type http
@id input3
port 9880
</source>
<filter *.**>
@type record_transformer
<record>
fluentdhost ${hostname}
environment mm-fluentdcontainers
</record>
</filter>
<match **>
@type http_ext
endpoint_url "https://data.mgmt.cloud.vmware.com/le-mans/v1/streams/ingestion-pipeline-stream"
http_method post
serializer json
rate_limit_msec 0
raise_on_error true
raise_on_http_failure true
authentication none
use_ssl true
verify_ssl false
<headers>
Authorization "Bearer APIKEY"
Content-Type application/json
structure default
format syslog
</headers>
</match>