Commit 34ebb21a authored by Yusei Tahara's avatar Yusei Tahara

Update request_fluentd_instance.py

parent c7ef6062
import json
software_url = 'https://lab.nexedi.cn/yusei/fluentd/raw/master/software.cfg'
software_url = 'https://lab.nexedi.com/nexedi/slapos/raw/master/software/fluentd/software.cfg'
computer_id = 'local_computer'
parameter_dict = {
"input_format":"none",
"wendelin_streamtool_uri":"https://xxx/erp5/portal_ingestion_policies/xxx",
"wendelin_tag":"xxx",
"wendelin_user":"xxx",
"wendelin_password":"xxx"
"conf_text":"""\
<match debug.**>
@type stdout
@id stdout_output
</match>
<source>
@type http
port 8888
bind 0.0.0.0
body_size_limit 16m
keepalive_timeout 10s
format none
</source>
<source>
@type dummy
dummy {"hello":"world"}
tag {{ wendelin_tag }}
auto_increment_key foo_key
</source>
<match {{ wendelin_tag }}>
@type wendelin
@id wendelin_out
streamtool_uri http://localhost/erp5/portal_ingestion_policies/xxx
user xxx
password xxx
buffer_type memory
flush_interval 60s
</match>
"""
}
# Choose a title
......
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