Commit afca6569 authored by Ivan Tyagov's avatar Ivan Tyagov

Add fluent-bit / fluentd.

parent a4057389
...@@ -40,3 +40,25 @@ request( ...@@ -40,3 +40,25 @@ request(
partition_reference = '%s.runtime-1' %computer_title, partition_reference = '%s.runtime-1' %computer_title,
partition_parameter_kw = partition_parameter_kw, partition_parameter_kw = partition_parameter_kw,
filter_kw = filter_kw) filter_kw = filter_kw)
# fluentd (gateway!)
release = "/opt/slapos.git/software/fluentd/software.cfg"
supply(release, computer_id)
filter_kw = {"computer_guid": computer_id}
partition_parameter_kw = {}
request(
software_release = release,
partition_reference = '%s.fluentd-gateway-1' %computer_title,
partition_parameter_kw = partition_parameter_kw,
filter_kw = filter_kw)
# fluent-bit (MQTT broker!)
release = "/opt/slapos.git/software/fluent-bit/software.cfg"
supply(release, computer_id)
filter_kw = {"computer_guid": computer_id}
partition_parameter_kw = {}
request(
software_release = release,
partition_reference = '%s.fluentbit-broker-1' %computer_title,
partition_parameter_kw = partition_parameter_kw,
filter_kw = filter_kw)
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