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
What did you do? Tried to setup Logstash according to Quickstart guide.
What did you expect to see? Logstash up and running
What did you see instead? Under which circumstances?
Environment
ECK version:
2.11.1
Kubernetes information:
$ kubectl version Client Version: v1.28.2 Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3 Server Version: v1.29.1+k0s
On https://www.elastic.co/guide/en/cloud-on-k8s/2.11/k8s-logstash-quickstart.html I copy-pasted the given example at the top...
cat <<EOF | kubectl apply -f - apiVersion: logstash.k8s.elastic.co/v1alpha1 kind: Logstash metadata: name: quickstart spec: [...] pipelines: - pipeline.id: main config.string: | input { beats { port => 5044 } } output { elasticsearch { hosts => [ "${QS_ES_HOSTS}" ] user => "${QS_ES_USER}" password => "${QS_ES_PASSWORD}" ssl_certificate_authorities => "${QS_ES_SSL_CERTIFICATE_AUTHORITY}" } } services: [...]
...and found the ${...} variables not getting filled once on Kubernetes.
${...}
When passed via shell (cat <<EOF | kubectl apply -f -...) instead of a file, those will need to be escaped!
cat <<EOF | kubectl apply -f -...
hosts => [ "\${QS_ES_HOSTS}" ] user => "\${QS_ES_USER}" password => "\${QS_ES_PASSWORD}" ssl_certificate_authorities => "\${QS_ES_SSL_CERTIFICATE_AUTHORITY}"
Not a huge issue, but keeps beginners (main quickstart audience, I guess) struggling...
The text was updated successfully, but these errors were encountered:
Thanks for reporting this.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Bug Report
What did you do?
Tried to setup Logstash according to Quickstart guide.
What did you expect to see?
Logstash up and running
What did you see instead? Under which circumstances?
Environment
ECK version:
2.11.1
Kubernetes information:
On https://www.elastic.co/guide/en/cloud-on-k8s/2.11/k8s-logstash-quickstart.html I copy-pasted the given example at the top...
...and found the
${...}
variables not getting filled once on Kubernetes.When passed via shell (
cat <<EOF | kubectl apply -f -...
) instead of a file, those will need to be escaped!Not a huge issue, but keeps beginners (main quickstart audience, I guess) struggling...
The text was updated successfully, but these errors were encountered: