Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 1554293 - logging-eventrouter event not formatted correctly in El…
…asticsearch when using MUX

If openshift_logging_install_eventrouter is true, set TRANSFORM_EVENTS true in MUX, as well.
  • Loading branch information
nhosoi committed Sep 24, 2018
1 parent bdec4d1 commit e215ce7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion roles/openshift_logging_fluentd/templates/fluentd.j2
Expand Up @@ -149,7 +149,7 @@ spec:
- name: "MUX_CLIENT_MODE"
value: "{{ openshift_logging_mux_client_mode }}"
{% endif %}
{% if openshift_logging_install_eventrouter is defined and openshift_logging_install_eventrouter %}
{% if openshift_logging_install_eventrouter is defined and (openshift_logging_install_eventrouter | bool) %}
- name: "TRANSFORM_EVENTS"
value: "true"
{% endif %}
Expand Down
4 changes: 4 additions & 0 deletions roles/openshift_logging_mux/templates/mux.j2
Expand Up @@ -128,6 +128,10 @@ spec:
resource: limits.memory
- name: "FILE_BUFFER_LIMIT"
value: "{{ openshift_logging_mux_file_buffer_limit | default('2Gi') }}"
{% if openshift_logging_install_eventrouter is defined and (openshift_logging_install_eventrouter | bool) %}
- name: "TRANSFORM_EVENTS"
value: "true"
{% endif %}

{% if openshift_logging_mux_remote_syslog is defined and openshift_logging_mux_remote_syslog %}
- name: USE_REMOTE_SYSLOG
Expand Down

0 comments on commit e215ce7

Please sign in to comment.