# Delay to Metribeat system input data into Elasticsearch

**URL:** <https://discuss.elastic.co/t/delay-to-metribeat-system-input-data-into-elasticsearch/299348>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [March 10, 2022, 3:15pm UTC](https://discuss.elastic.co/t/delay-to-metribeat-system-input-data-into-elasticsearch/299348 "2022-03-10T15:15:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thiago\_Paiva](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thiago_paiva/32/52326_2.png) [@Thiago\_Paiva](https://discuss.elastic.co/u/Thiago_Paiva)\
**Post date:** [March 10, 2022, 3:15pm UTC](https://discuss.elastic.co/t/delay-to-metribeat-system-input-data-into-elasticsearch/299348/1 "2022-03-10T15:15:40Z")

</div>

Hi Everyone,

I'm monitoring a Linux server with metricbeat, but I noticed a delay for the input of metrics into Elastic (Discover - Kibana). Time is approximately 2 minutes. My configuration is 3 master elastic nodes that respond to a loadbance. In my configuration file I put the LB. And I tried to improve the performance by including 2 to 4 workers, but I didn't see any improvement.  
Could you help me to try to solve this delay?

I tested the same configuration on another server e worked well.

follows my module system and metricbeat.yml config:

metricbeat.yml

```auto
output.elasticsearch:
  # Array of hosts to connect to.
  hosts: "<ip>:9200"
  index: "metric_server_sales"
  worker: 4
  username: "<user>"
  password: "${ES_PWD}"

```

system.yml

```auto
# Module: system
# Docs: https://www.elastic.co/guide/en/beats/metricbeat/7.x/metricbeat-module-system.html

- module: system
  period: 10s
  metricsets:
    - cpu
    - load
    - memory
    - network
    - process
    - process_summary
    - socket_summary
    #- entropy
    #- core
    #- diskio
    #- socket
    #- service
    #- users
  process.include_top_n:
    by_cpu: 5 # include top 5 processes by CPU
    by_memory: 5 # include top 5 processes by memory
# Configure the mount point of the host’s filesystem for use in monitoring a host from within a container
#system.hostfs: "/hostfs"

- module: system
  period: 1m
  metricsets:
    - filesystem
    - fsstat
  processors:
  - drop_event.when.regexp:
      system.filesystem.mount_point: '^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/)'

- module: system
  period: 15m
  metricsets:
    - uptime

#- module: system
# period: 5m
# metricsets:
# - raid
# raid.mount_point: '/'

```

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/2/7201b48faf8bb00d22d922c5c49d60d67379801b.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/8/78d2b1672dffa215a00c7c91b3286a7e7b39cd7d.png)

Best Regards,

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 7, 2022, 5:16pm UTC](https://discuss.elastic.co/t/delay-to-metribeat-system-input-data-into-elasticsearch/299348/2 "2022-04-07T17:16:34Z")

</div>

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