Creating alerts for logs

Hi all. I need to add alerts to my dashboards. I have deployed Elasticsearch helm chart to deploy in my K8s cluster. I find only stateful set has been deployed. How can I work with Elasticsearch.yml?