I sincerely apologize if this is considered as a double post. In quest of reaching a larger community both here and elsewhere of opensearch, I admit posting this on stackoverflow. I am a bit desperate as I sort of encourage my organization to use opensearch instead of elastic.
Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
- Opensearch 2.13.0
- metricbeat 7.12.1
Describe the issue:
The issue is posted on stackoverflow https://stackoverflow.com/questions/78429215/how-to-use-dashboards-imported-from-metricbeat-into-opensearch-dashboard-opense
After following the links referenced and write up by @electricbrain I am not able to see any of the dashboard imported from metricbeat to the opensearch-dashboards. Kindly help me make this a success. Thanks
Configuration:
docker-compose.yml
services:
opensearch:
image: opensearchproject/opensearch:2.13.0
container_name: opensearch
environment:
- cluster.name=opensearch-cluster
- node.name=opensearch-node
- "discovery.type=single-node"
- bootstrap.memory_lock=true
- compatibility.override_main_response_version=true
# - "plugins.security.disabled: true"
- "OPENSEARCH_INITIAL_ADMIN_PASSWORD=AFQrb42jMYEyXeSnLaef"
ports:
- "9200:9200"
volumes:
- ./opensearch-data:/usr/share/opensearch/data
networks:
- opensearch-net
opensearch-dashboard:
image: opensearchproject/opensearch-dashboards:2.13.0
container_name: opensearch-dashboard
environment:
- "OPENSEARCH_DASHBOARDS_ALLOW_IFRAMES=true"
- "OPENSEARCH_HOSTS=https://opensearch:9200"
ports:
- "5601:5601"
networks:
- opensearch-net
depends_on:
- opensearch
metricbeat:
image: docker.elastic.co/beats/metricbeat-oss:7.12.1
container_name: metricbeat
user: root
volumes:
- ./metricbeat.yml:/usr/share/metricbeat/metricbeat.yml
- /var/run/docker.sock:/var/run/docker.sock
networks:
- opensearch-net
depends_on:
- opensearch
networks:
opensearch-net:
metricbeat.yaml
metricbeat.modules:
- module: system
metricsets:
- cpu
- memory
- network
- filesystem
period: 10s
processors:
- drop_event.when.regexp:
system.filesystem.mount_point: '^/(sys|cgroup|proc|dev|etc|host|lib)($|/)'
output.elasticsearch:
hosts: ["https://opensearch:9200"]
username: "admin"
password: "AFQrb42jMYEyXeSnLaef"
ssl.verification_mode: "none"
index: "metricbeat-7.12.1"
# setup.dashboards.enabled: true
setup:
kibana:
host: "http://opensearch-dashboard:5601"
dashboards:
enabled: false
template:
name: 'myapp'
pattern: 'myapp-*'
enabled: false
ilm:
overwrite: true
metricbeat json files
The files uploaded are in this dropbox zip link