[ZBX-16408] Improve Elasticsearch setup documentation Created: 2018 Sep 19  Updated: 2024 Apr 10

Status: Needs documenting
Project: ZABBIX BUGS AND ISSUES
Component/s: Documentation (D)
Affects Version/s: None
Fix Version/s: None

Type: Documentation task Priority: Trivial
Reporter: jchegedus Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File zabbix-elastic-cfg.txt    
Team: Team D
Team: Team D
Sprint: Sprint 56 (Sep 2019), Sprint 55 (Aug 2019), Sprint 54 (Jul 2019), Sprint 57 (Oct 2019), Sprint 58 (Nov 2019), Sprint 59 (Dec 2019), Sprint 60 (Jan 2020), Sprint 61 (Feb 2020), Sprint 62 (Mar 2020), Sprint 63 (Apr 2020), Sprint 64 (May 2020), Sprint 65 (Jun 2020), Sprint 66 (Jul 2020), Sprint 67 (Aug 2020), Sprint 68 (Sep 2020), Sprint 69 (Oct 2020), Sprint 70 (Nov 2020), Sprint 71 (Dec 2020), Sprint 72 (Jan 2021), Sprint 73 (Feb 2021), Sprint 74 (Mar 2021), Sprint 75 (Apr 2021), Sprint 76 (May 2021), Sprint 77 (Jun 2021), Sprint 78 (Jul 2021), Sprint 79 (Aug 2021), Sprint 80 (Sep 2021), Sprint 81 (Oct 2021), Sprint 82 (Nov 2021), Sprint 83 (Dec 2021), Sprint 84 (Jan 2022), Sprint 85 (Feb 2022), Sprint 86 (Mar 2022), Sprint 87 (Apr 2022), Sprint 88 (May 2022), Technical backlog, Sprint 89 (Jun 2022), Sprint 90 (Jul 2022)
Story Points: 0.25

 Description   

So I have been testing Zabbix with Elasticsearch for quite some time now.
Some of the problems I encountered and resolved with zabbix - es configuration.
I think this should be properly reflected on the configuration to help others set up this properly.
I am attaching the list of commands to be executed on Kibana's Dev Tools console, this will work perfectly with Zabbix version 4 (beta1,beta2) and ES 6.x.

It is important to mention that:

{{"number_of_shards": "5",
"number_of_replicas": "1"}}

Means:

Replica set to 1 = two data nodes

If the user is running with 1 elastic data node (for testing for instance) the replica should be set to ZERO (0) – 2 data nodes = 1 and so on.

If this is not set correctly his cluster will be Yellow.


Generated at Fri Apr 19 17:38:59 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.