Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ILM] ILM configuration overwrite #11594

Closed
kuisathaverat opened this issue Apr 2, 2019 · 4 comments
Closed

[ILM] ILM configuration overwrite #11594

kuisathaverat opened this issue Apr 2, 2019 · 4 comments

Comments

@kuisathaverat
Copy link
Contributor

I have detected that the ILM configuration is overwritten many times without modification by a user.

Screenshot 2019-04-02 at 11 52 58

Screenshot 2019-04-02 at 11 55 49

For confirmed bugs, please report:

  • Version: 7.0.0-rc1, 7.0.0-rc2
  • Operating System: Linus on k8s
  • Steps to Reproduce:
  • Starts a k8s cluster with Metricbeat and Packetbeat as daemonset, with the following output configuration
    output.elasticsearch:
      hosts: ['${ELASTICSEARCH_PROTO}://${ELASTICSEARCH_HOST:elasticsearch}:${ELASTICSEARCH_PORT:9200}']
      username: ${ELASTICSEARCH_USERNAME}
      password: ${ELASTICSEARCH_PASSWORD}
      index: "metricbeat-%{[agent.version]}-%{+yyyy.MM.dd}"
      ssl.enabled: true
      ssl.verification_mode: none
    xpack.monitoring.enabled: true
    setup.kibana.host: ${KIBANA_PROTO}://${KIBANA_HOST}:${KIBANA_PORT:5601}
    setup.kibana.username: ${KIBANA_USERNAME}
    setup.kibana.password: ${KIBANA_PASSWORD}
    setup.template.name: "metricbeat"
    setup.template.pattern: "metricbeat-*"
    setup.template.enabled: true
    setup.template.overwrite: true
    setup.template.overwrite: true
    xpack.monitoring.enabled: true
    queue.mem:
      events: 20000
    output.elasticsearch:
      hosts: ['${ELASTICSEARCH_PROTO}://${ELASTICSEARCH_HOST:elasticsearch}:${ELASTICSEARCH_PORT:9200}']
      username: ${ELASTICSEARCH_USERNAME}
      password: ${ELASTICSEARCH_PASSWORD}
      index: "packetbeat-%{[agent.version]}-%{+yyyy.MM.dd}"
      ssl.enabled: true
      ssl.verification_mode: none
      bulk_max_size: 2000
      worker: 2
      compression_level: 5
    xpack.monitoring.enabled: true
    setup.kibana.host: ${KIBANA_PROTO}://${KIBANA_HOST}:${KIBANA_PORT:5601}
    setup.kibana.username: ${KIBANA_USERNAME}
    setup.kibana.password: ${KIBANA_PASSWORD}
    setup.template.name: "packetbeat"
    setup.template.pattern: "packetbeat-*"
    setup.template.enabled: true
    setup.template.overwrite: true
@urso
Copy link

urso commented Apr 17, 2019

This was a bug in the release candidates. It should be fixed in the final 7.0.0 release.

@urso urso closed this as completed Apr 17, 2019
@kuisathaverat
Copy link
Contributor Author

@urso on 7.0.0 works as expected, but on 8.0.0-SNAPSHOT the issue is still there and Packetbeat overwrites the ILM configuration, Metricbeat works correctly on both versions.

@kuisathaverat
Copy link
Contributor Author

Filebeat has the same issue

@Tsuweiquan
Copy link

Winlogbeat 7.0.1 has the same issue.

setup.ilm.overwrite: false overwrites the existing ilm policy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants