Questions tagged [metricbeat]

Questions related to installation and configuration of metricbeat which is a product from Elastic.

Metricbeat is a product from Elastic. https://www.elastic.co/products/beats/metricbeat

212 questions
10
votes
3 answers

illegal_argument_exception: index.lifecycle.rollover_alias [metricbeat-6.8.4-alias] does not point to index [metricbeat-6.8.4-2020.02.24]

currently looking for help about setup ilm, i have setup the template, index alias and policy as below PUT metricbeat-6.8.4-alias-000001 { "aliases": { "metricbeat-6.8.4-alias": { "is_write_index": true } } } PUT…
Yoga Arie
  • 101
  • 1
  • 1
  • 3
7
votes
2 answers

how to override timestamp field coming from json in logstash

I have the following below kind of json present with me to be dumped in elastic search using filebeat…
5
votes
1 answer

Best practice to delete old MetricBeats data in ElasticSearch

How do we best delete old data collected via MetricBeats in ElasticSearch periodically? Is there some feature to automatically purge old data or to create new MetricBeats indices after a certain configurable period of time so those old indices can…
Nehal Damania
  • 8,671
  • 9
  • 37
  • 52
5
votes
2 answers

How to monitor an ElasticSearch Cluster on the Elastic Cloud with Datadog?

We have an elasticsearch cluster deployed to the Elastic Cloud and would like to send monitoring/health metrics to Datadog. What is the best way to do that? It seems like our options are: Installing the datadog agent binary via the plugins…
TheNastyOne
  • 965
  • 11
  • 19
5
votes
1 answer

How to connect metricbeat to elasticsearch and kibana with docker

I've setup elasticsearch and kibana with docker compose. elasticsearch is deployed on: localhost:9200 while kibana is deployed on localhost:5601 When trying to deploy metricbeat with docker run I got the following errors: $ docker run…
5
votes
2 answers

How to set hostname in global service in Docker Swarm

I have a service deployed to my Docker Swarm Cluster as global service (ELK Metricbeat). I want to each of this service to have a hostname the same as the hostname of the running node (host)? in another word, how I can achieve the same result in the…
sadok-f
  • 1,387
  • 15
  • 28
4
votes
0 answers

Failed try to connecting metricbeat to elasticsearch and kibana with docker

I am trying to up elasticsearch kibana and metricbeat through docker-compose. This is the code. ELK is working fine but metricbeat failed, I am getting this error, and not able to figure out how can i solve this : MetricBeat…
4
votes
0 answers

Fielddata is disabled on text fields by default Set fielddata=true

I am running elastic stack v 7.2.0 on kubernetes and I am getting this error in the elasticsearh while accessing the metricbeat dashboard Caused by: java.lang.IllegalArgumentException: Fielddata is disabled on text fields by default. Set…
4
votes
1 answer

Elastalert rule for disk space

I am monitoring disk space usage using metricbeat. Now I want alerts via Elastalert depending on the disk size. Alert when disk space used crossed 50% Alert when disk space used crossed 70% Alert when disk space used crossed 80% Alert when disk…
Debashish Sen
  • 696
  • 5
  • 12
4
votes
1 answer

Metricbeat kubernetes module can’t connect to kubelet

We have a setup, where Metricbeat is deployed as a DaemonSet on a Kubernetes cluster (specifically -- AWS EKS). All seems to be functioning properly, but the kubelet connection. To clarify, the following module: - module: kubernetes enabled: true …
ZenMaster
  • 12,363
  • 5
  • 36
  • 59
3
votes
0 answers

ElasticSearch - Nest - Mapping hits nested in lists and dictionaries

TLDR: How do I get the data I need to sit inside source like my timestamp and not inside a million lists and dictionaries? I'm trying to create Data objects from this Nest query. The data comes from MetricBeats and ends up in a lot of nested lists…
3
votes
2 answers

Multiple paths in http module - metricbeats

I am using http module of metricbeats to monitor jmx. I am using http module instead of the jolokia module because it lacks wildcard support at this point. The example configuration in the documents is as follows. - module: http metricsets:…
Kumaran Senapathy
  • 1,233
  • 4
  • 18
  • 30
3
votes
2 answers

metricbeat kubernetes DNS lookup failure: no such host

I tried running the official metricbeat docker image as described here (https://www.elastic.co/guide/en/beats/metricbeat/current/running-on-kubernetes.html) on a GCP kubernetes cluster as a deamonset and changed the settings so it should route…
Techradar
  • 3,506
  • 3
  • 18
  • 28
3
votes
1 answer

Can not run metricbeat in docker

I am trying to run metricbeat using docker in windows machine and I have changed metricbeat.yml as per my requirement. docker run -v /c/Users/someuser/docker/metricbeat.yml:/usr/share/metricbeat/metricbeat.yml…
mnhmilu
  • 2,327
  • 1
  • 30
  • 50
3
votes
1 answer

How to monitor a specific process using metricbeats?

I have the following basic metricbeats config metricbeat.modules: - module: system metricsets: - cpu - filesystem - memory - network - process enabled: true period: 10s processes: ['.*'] cpu_ticks: false Now I want to…
Arun Mohan
  • 898
  • 3
  • 18
  • 37
1
2 3
14 15