@@ -77,13 +77,13 @@ Perform the following steps on any of the Wazuh indexer nodes replacing ``<WAZUH
77
77
78
78
.. code-block :: bash
79
79
80
- curl -X PUT " https://<WAZUH_INDEXER_IP_ADDRESS>:9200/_cluster/settings" \
81
- -u < USERNAME> :< PASSWORD> -k -H " Content-Type: application/json" -d '
80
+ curl -X PUT " https://<WAZUH_INDEXER_IP_ADDRESS>:9200/_cluster/settings" -u < USERNAME> -k -H ' Content-Type: application/json' -d'
82
81
{
83
- "persistent": {
84
- "cluster.routing.allocation.enable": "primaries"
85
- }
86
- }'
82
+ "persistent": {
83
+ "cluster.routing.allocation.enable": "primaries"
84
+ }
85
+ }
86
+ '
87
87
88
88
.. code-block :: json
89
89
:class: output
@@ -106,7 +106,7 @@ Perform the following steps on any of the Wazuh indexer nodes replacing ``<WAZUH
106
106
107
107
.. code-block :: console
108
108
109
- # curl -X POST "https://<WAZUH_INDEXER_IP_ADDRESS>:9200/_flush" -u <USERNAME>:<PASSWORD> -k
109
+ # curl -X POST "https://<WAZUH_INDEXER_IP_ADDRESS>:9200/_flush" -u <USERNAME> -k
110
110
111
111
.. code-block :: json
112
112
:class: output
@@ -146,7 +146,7 @@ Perform the following steps on each Wazuh indexer node to upgrade them. Upgrade
146
146
147
147
.. code-block :: console
148
148
149
- # curl -k -u <USERNAME>:<PASSWORD> https://<WAZUH_INDEXER_IP_ADDRESS>:9200/_cat/nodes?v
149
+ # curl -k -u <USERNAME> https://<WAZUH_INDEXER_IP_ADDRESS>:9200/_cat/nodes?v
150
150
151
151
#. Stop the Wazuh indexer service.
152
152
@@ -209,18 +209,17 @@ Perform the following steps on any of the Wazuh indexer nodes replacing ``<WAZUH
209
209
210
210
.. code-block :: console
211
211
212
- # curl -k -u <USERNAME>:<PASSWORD> https://<WAZUH_INDEXER_IP_ADDRESS>:9200/_cat/nodes?v
212
+ # curl -k -u <USERNAME> https://<WAZUH_INDEXER_IP_ADDRESS>:9200/_cat/nodes?v
213
213
214
214
#. Re-enable shard allocation.
215
215
216
216
.. code-block :: bash
217
217
218
- curl -X PUT " https://<WAZUH_INDEXER_IP_ADDRESS>:9200/_cluster/settings" \
219
- -u < USERNAME> :< PASSWORD> -k -H " Content-Type: application/json" -d '
218
+ curl -X PUT " https://<WAZUH_INDEXER_IP_ADDRESS>:9200/_cluster/settings" -u < USERNAME> -k -H ' Content-Type: application/json' -d'
220
219
{
221
- "persistent": {
222
- "cluster.routing.allocation.enable": "all"
223
- }
220
+ "persistent": {
221
+ "cluster.routing.allocation.enable": "all"
222
+ }
224
223
}
225
224
'
226
225
@@ -245,11 +244,11 @@ Perform the following steps on any of the Wazuh indexer nodes replacing ``<WAZUH
245
244
246
245
.. code-block :: console
247
246
248
- # curl -k -u <USERNAME>:<PASSWORD> https://<WAZUH_INDEXER_IP_ADDRESS>:9200/_cat/nodes?v
247
+ # curl -k -u <USERNAME> https://<WAZUH_INDEXER_IP_ADDRESS>:9200/_cat/nodes?v
249
248
250
249
.. code-block :: console
251
250
:class: output
252
-
251
+
253
252
ip heap.percent ram.percent cpu load_1m load_5m load_15m node.role node.roles cluster_manager name
254
253
172.18.0.3 34 86 32 6.67 5.30 2.53 dimr cluster_manager,data,ingest,remote_cluster_client - wazuh2.indexer
255
254
172.18.0.4 21 86 32 6.67 5.30 2.53 dimr cluster_manager,data,ingest,remote_cluster_client * wazuh1.indexer
@@ -424,30 +423,28 @@ When upgrading Wazuh, you must also update the Wazuh Filebeat module and the ale
424
423
425
424
.. code-block :: bash
426
425
427
- curl -X PUT " https://<WAZUH_INDEXER_IP_ADDRESS>:9200/wazuh-states-vulnerabilities-*/_mapping" \
428
- -u < USERNAME> :< PASSWORD> -k -H " Content-Type: application/json" -d '
426
+ curl -X PUT " https://<WAZUH_INDEXER_IP_ADDRESS>:9200/wazuh-states-vulnerabilities-*/_mapping" -u < USERNAME> -k -H ' Content-Type: application/json' -d'
429
427
{
430
- "properties": {
431
- "vulnerability": {
432
- "properties": {
433
- "under_evaluation": {
434
- "type": "boolean"
435
- },
436
- "scanner": {
437
- "properties": {
438
- "source": {
439
- "type": "keyword",
440
- "ignore_above": 1024
441
- }
442
- }
428
+ "properties": {
429
+ "vulnerability": {
430
+ "properties": {
431
+ "under_evaluation": {
432
+ "type": "boolean"
433
+ },
434
+ "scanner": {
435
+ "properties": {
436
+ "source": {
437
+ "type": "keyword",
438
+ "ignore_above": 1024
443
439
}
444
- }
440
+ }
441
+ }
445
442
}
446
- }
443
+ }
444
+ }
447
445
}
448
446
'
449
447
450
-
451
448
Upgrading the Wazuh dashboard
452
449
-----------------------------
453
450
0 commit comments