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

Fix Logstash quickstart docs using single-quote EOF to avoid expanding variables #7580

Merged
merged 3 commits into from
Feb 27, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(doc): escape dollars when used in 'cat <<EOF' block
thbkrkr committed Feb 27, 2024
commit 8c9d83dcabfdb7957ba174684691053998046d4f
Original file line number Diff line number Diff line change
@@ -121,6 +121,6 @@ spec:
# Do not use this if setting config.node.store.allow_mmap: false
initContainers:
- name: max-map-count-check
command: ['sh', '-c', "while true; do mmc=$(cat /proc/sys/vm/max_map_count); if [ ${mmc} -eq 262144 ]; then exit 0; fi; sleep 1; done"]
command: ['sh', '-c', "while true; do mmc=$(cat /proc/sys/vm/max_map_count); if [ \${mmc} -eq 262144 ]; then exit 0; fi; sleep 1; done"]
EOF
----
Original file line number Diff line number Diff line change
@@ -64,10 +64,10 @@ spec:
}
output {
elasticsearch {
hosts => [ "${QS_ES_HOSTS}" ]
user => "${QS_ES_USER}"
password => "${QS_ES_PASSWORD}"
ssl_certificate_authorities => "${QS_ES_SSL_CERTIFICATE_AUTHORITY}"
hosts => [ "\${QS_ES_HOSTS}" ]
user => "\${QS_ES_USER}"
password => "\${QS_ES_PASSWORD}"
ssl_certificate_authorities => "\${QS_ES_SSL_CERTIFICATE_AUTHORITY}"
}
}
services: