https://www.kryukov.biz/2021/07/getting-metrics-from-logs-in-elasticsearch/
Getting metrics from logs in Elasticsearch