We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Related: https://github.com/wazuh/internal-devel-requests/issues/425
In tests carried out with the installation wizard for a distributed installation, it was detected that the -i argument does not work correctly:
root@ubuntu22:~# /usr/share/wazuh-indexer/bin/indexer-ism-init.sh -i 192.168.56.254 -p U0wf+SIuE75JtZ?9ngsVtEyvSIeI+w.o TEMPLATES AND POLICIES - Uploading wazuh-alerts template TEMPLATES AND POLICIES - Uploading wazuh-archives template ++ curl -s -k -u 'admin:U0wf+SIuE75JtZ?9ngsVtEyvSIeI+w.o' -X GET https://localhost:9200/_plugins/_ism/policies/rollover_policy -o /dev/null -w '%{http_code}' + policy_exists=000 + [[ 000 == \4\0\4 ]] + [[ 000 == \2\0\0 ]] + echo 'TEMPLATES AND POLICIES - Error uploading rollover_policy policy' TEMPLATES AND POLICIES - Error uploading rollover_policy policy + set +x TEMPLATES AND POLICIES - Creating write indices root@ubuntu22:~# /usr/share/wazuh-indexer/bin/indexer-ism-init.sh -p U0wf+SIuE75JtZ?9ngsVtEyvSIeI+w.o -i 192.168.56.254 TEMPLATES AND POLICIES - Uploading wazuh-alerts template TEMPLATES AND POLICIES - Uploading wazuh-archives template ++ curl -s -k -u 'admin:U0wf+SIuE75JtZ?9ngsVtEyvSIeI+w.o' -X GET https://localhost:9200/_plugins/_ism/policies/rollover_policy -o /dev/null -w '%{http_code}' + policy_exists=000 + [[ 000 == \4\0\4 ]] + [[ 000 == \2\0\0 ]] + echo 'TEMPLATES AND POLICIES - Error uploading rollover_policy policy' TEMPLATES AND POLICIES - Error uploading rollover_policy policy + set +x TEMPLATES AND POLICIES - Creating write indices
This is because the INDEXER_URL variable is not replaced when using this argument, and is left with the value of INDEXER_HOSTNAME="localhost"
wazuh-packages/stack/indexer/indexer-ism-init.sh
Line 16 in 07ff16d
The text was updated successfully, but these errors were encountered:
-i
AlexRuiz7
Successfully merging a pull request may close this issue.
Related: https://github.com/wazuh/internal-devel-requests/issues/425
In tests carried out with the installation wizard for a distributed installation, it was detected that the -i argument does not work correctly:
This is because the INDEXER_URL variable is not replaced when using this argument, and is left with the value of INDEXER_HOSTNAME="localhost"
wazuh-packages/stack/indexer/indexer-ism-init.sh
Line 16 in 07ff16d
Tasks:
The text was updated successfully, but these errors were encountered: