Hi all,
I am trying observability uptime monitoring.
elastic .17.1
kibana .17.1
heartbeat 7.17.1
############################# Heartbeat ######################################
# Directory to load monitor definitions
heartbeat.config.monitors:
path: ${path.config}/monitors.d/*.yml
reload.enabled: true
reload.period: 5s
# Configure monitors inline
heartbeat.monitors:
- type: http
enabled: true
id: s1
name: s1
urls: ["http://local_ip:9010/health-check"]
schedule: '@every 10s'
timeout: 30s # Added timeout to avoid indefinite hangs
- type: http
enabled: true
id: s2
name: s2
urls: ["http://local_ip:9201/health-check"]
schedule: '@every 10s'
timeout: 30s # Added timeout to avoid indefinite hangs
# ======================= Elasticsearch template setting =======================
setup.template.settings:
index.number_of_shards: 1
index.codec: best_compression
# =================================== Kibana ===================================
setup.kibana:
host: "http://local_ip:5601" # Explicitly added "http://"
# ================================== Outputs ===================================
output.elasticsearch:
hosts: ["http://local_ip:9200"] # Explicitly added "http://"
# ================================= Processors =================================
processors:
- add_observer_metadata:
geo:
name: us-east-1a
location: "37.926868, -78.024902" # Example geo-location
# ================================== Logging ===================================
logging.level: info # Default is 'info'; change to 'debug' if needed
# ============================= X-Pack Monitoring ==============================
monitoring.enabled: true # Set to true if you want to enable Stack Monitoring
error ->
× heartbeat-elastic.service - Ping remote services for availability and log results to Elasticsearch or send to Logstash.
Loaded: loaded (/lib/systemd/system/heartbeat-elastic.service; disabled; vendor preset: enabled)
Active: failed (Result: core-dump) since Thu 2025-01-23 13:34:01 IST; 1min 18s ago
Docs: https://www.elastic.co/beats/heartbeat
Process: 1389106 ExecStart=/usr/share/heartbeat/bin/heartbeat --environment systemd $BEAT_LOG_OPTS $BEAT_CONFIG_OPTS $BEAT_PATH_OPTS (code=dumped, signal=ABRT)
Main PID: 1389106 (code=dumped, signal=ABRT)
CPU: 82ms
Jan 23 13:34:01 VCPL-LP-93 systemd[1]: heartbeat-elastic.service: Scheduled restart job, restart counter is at 29.
Jan 23 13:34:01 VCPL-LP-93 systemd[1]: Stopped Ping remote services for availability and log results to Elasticsearch or send to Logstash..
Jan 23 13:34:01 VCPL-LP-93 systemd[1]: heartbeat-elastic.service: Start request repeated too quickly.
Jan 23 13:34:01 VCPL-LP-93 systemd[1]: heartbeat-elastic.service: Failed with result 'core-dump'.
Jan 23 13:34:01 VCPL-LP-93 systemd[1]: Failed to start Ping remote services for availability and log results to Elasticsearch or send to Logstash..
- service is gets fail after few minutes
- status is updating but circular graph is not updating. plus it takes at least 1 min to update. how can i do it quickly. please see image below.
after doing so many times refresh also, its not working.
Thank you in advance