Elasticsearch

Hi team,

How to deploy metric beats for elasticsearch and kibana using ECK, Is there any document for this .
because not able to see all logs for kibana and elasticsearch .
Could you help on this

Hi team,
I really need your help, I'm trying to apply kibana.yml file but getting
kubectl apply -f kibana.yml -n elastic
Error from server (BadRequest): error when creating "kibana.yml": Kibana in version "v1" cannot be handled as a Kibana: strict decoding error: unknown field "spec.ports", unknown field "spec.selector", unknown field "spec.type

apiVersion: kibana.k8s.elastic.co/v1
kind: Kibana
metadata:
** name: kibana**
spec:
** version: 8.7.0**
** count: 1**
** elasticsearchRef:**
** name: elasticsearch-cluster**
** http:**
** tls:**
** selfSignedCertificate:**
** disabled: true**
** selector:**
** kibana.k8s.elastic.co/name: kibana**
** type: NodePort**
** ports:**
** - name: http**
** protocol: TCP**
** port: 5601**
** targetPort: 5601**

Hi,

If you mean stack monitoring we have a documentation here: Stack Monitoring | Elastic Cloud on Kubernetes [master] | Elastic It'll deploy Beat as sidecars to collect logs and metrics from Stack components.

Error from server (BadRequest): error when creating "kibana.yml": Kibana in version "v1" cannot be handled as a Kibana: strict decoding error: unknown field "spec.ports", unknown field "spec.selector", unknown field "spec.type

Please copy/paste your example in a "preformatted section", by using the </> button at the top of this text editor.
The message means that there is no spec.ports fields in the Kibana spec, the list of all the available fields are here: kibana.k8s.elastic.co/v1 | Elastic Cloud on Kubernetes [master] | Elastic
If you are looking for a way to expose Kibana outside of your K8S cluster I would suggest to read this documentation: Services | Elastic Cloud on Kubernetes [master] | Elastic
If you are looking for a way to customize the Service please refer to the spec.http.service field: common.k8s.elastic.co/v1 | Elastic Cloud on Kubernetes [master] | Elastic

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.