# Elasticsearch node is offline on Stack Monitoring

**URL:** <https://discuss.elastic.co/t/elasticsearch-node-is-offline-on-stack-monitoring/377577>\
**Category:** Elasticsearch\
**Created:** [April 28, 2025, 1:02pm UTC](https://discuss.elastic.co/t/elasticsearch-node-is-offline-on-stack-monitoring/377577 "2025-04-28T13:02:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![makinshin](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@makinshin](https://discuss.elastic.co/u/makinshin)\
**Post date:** [April 28, 2025, 1:02pm UTC](https://discuss.elastic.co/t/elasticsearch-node-is-offline-on-stack-monitoring/377577/1 "2025-04-28T13:02:17Z")

</div>

Hello everyone!  
My node dispalyed as offline, but it's working.

 ![node](https://us1.discourse-cdn.com/elastic/original/3X/7/6/76311cd54702752dac0092930e2407158cb002cf.png)

How to fix this problem?  
Elk and metricbeat are installed on the same VM.

GET /

```auto
{
  "name" : "elk-0",
  "cluster_name" : "elasticsearch",
  "cluster_uuid" : "XkM2smx7Td2rJ8bvipf-cQ",
  "version" : {
    "number" : "7.16.3",
    "build_flavor" : "default",
    "build_type" : "rpm",
    "build_hash" : "4e6e4eab2297e949ec994e688dad46290d018022",
    "build_date" : "2022-01-06T23:43:02.825887787Z",
    "build_snapshot" : false,
    "lucene_version" : "8.10.1",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  },
  "tagline" : "You Know, for Search"
}

```

metricbeat.yml version 7.16.3

```auto
queue:
  mem:
    events: 4096
    flush:
      min_events: 0
      timeout: 0s
logging:
  level: info
  selectors: 
  to_syslog: false
  to_eventlog: false
  json: false
  to_files: true
  files:
    path: "/var/log/metricbeat"
    name: metricbeat
    keepfiles: 7
    rotateeverybytes: 10485760
    permissions: '0640'
  metrics:
    enabled: false
output:
  elasticsearch:
    hosts:
    - http://localhost:9200
    username: "username"
    password: "password"
metricbeat:
  config:
    modules:
      path: "/etc/metricbeat/modules.d/*.yml"
  xpack.enabled: true
  tags:
  - elk-magento

```

elastic.yml

```auto
discovery.type: single-node
http.port: 9200
network.host: 0.0.0.0
node.name: elk-0
path.data: "/var/lib/elasticsearch"
path.logs: "/var/log/elasticsearch"
xpack.monitoring.collection.enabled: true
xpack.monitoring.enabled: false
xpack.monitoring.elasticsearch.collection.enabled: false
xpack.security.enabled: true
xpack.security.http.ssl.enabled: false
xpack.security.transport.ssl.certificate: ssl/cert.pem
xpack.security.transport.ssl.certificate_authorities:
- ssl/ca.pem
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.key: ssl/key.pem
xpack.security.transport.ssl.verification_mode: certificate

```

elasticsearch-xpack.yml

```auto
- module: elasticsearch
  metricsets:
    - node
    - node_stats
    - index
    - index_recovery
    - index_summary
    - shard
    - ml_job
  period: 10s
  hosts: ["http://localhost:9200"]
  username: username
  password: password
  xpack.enabled: true

```
