57756eefe2
This change will allow a deployer to directly ship data from logstash into Kafka. Change-Id: I5de0caf270c8ced8111ac099cb91a70814f80259 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
14 lines
305 B
Django/Jinja
14 lines
305 B
Django/Jinja
output {
|
|
kafka {
|
|
{% for key, value in logstash_kafka_options.items() %}
|
|
{% if value is number %}
|
|
{{ key }} => {{ value }}
|
|
{% elif value is iterable and value is not string %}
|
|
{{ key }} => "{{ value | join(',') }}"
|
|
{% else %}
|
|
{{ key }} => "{{ value }}"
|
|
{% endif %}
|
|
{% endfor %}
|
|
}
|
|
}
|