# Troubleshooting Kibana Dashboard Configuration for Metricbeat Modules

**URL:** <https://discuss.elastic.co/t/troubleshooting-kibana-dashboard-configuration-for-metricbeat-modules/342190>\
**Category:** Metrics\
**Created:** [September 3, 2023, 2:24pm UTC](https://discuss.elastic.co/t/troubleshooting-kibana-dashboard-configuration-for-metricbeat-modules/342190 "2023-09-03T14:24:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![MasoudLakestani](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/masoudlakestani/32/125226_2.png) [@MasoudLakestani](https://discuss.elastic.co/u/MasoudLakestani)\
**Post date:** [September 3, 2023, 2:24pm UTC](https://discuss.elastic.co/t/troubleshooting-kibana-dashboard-configuration-for-metricbeat-modules/342190/1 "2023-09-03T14:24:29Z")

</div>

How can I configure Kibana to display monitoring dashboards for the PostgreSQL and System modules when I've already set up these modules in the Metricbeat configuration file (`metricbeat.yml` )? While I can see that Elasticsearch and Logstash dashboards are visible in Kibana, and I've verified that the PostgreSQL and System data are successfully indexed (as observed in the metricbeat logs and Elasticsearch indices), the corresponding dashboards for these modules are not showing up. What could be the reason and how can I resolve this issue?

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [September 3, 2023, 2:30pm UTC](https://discuss.elastic.co/t/troubleshooting-kibana-dashboard-configuration-for-metricbeat-modules/342190/2 "2023-09-03T14:30:07Z")

</div>

Hi @MasoudLakestani Welcome to the community

What version are you running?

Did you follow the steps in the [quick start guide](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-installation-configuration.html)?

It's a good idea to always share all the configuration files

Most importantly did you run setup after you configured the modules

`metricbeat setup -e`

I'm a little confused by what you mean by the Kibana and Logstash dashboards Are you talking about stack monitoring?

Perhaps give us a little more overview of what you're trying to accomplish... And all the config files and perhaps we can help.

---

<div class="post-metadata">

**Author:** ![MasoudLakestani](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/masoudlakestani/32/125226_2.png) [@MasoudLakestani](https://discuss.elastic.co/u/MasoudLakestani)\
**Post date:** [September 4, 2023, 6:35am UTC](https://discuss.elastic.co/t/troubleshooting-kibana-dashboard-configuration-for-metricbeat-modules/342190/3 "2023-09-04T06:35:24Z")

</div>

Hello @stephenb,

Thank you for taking the time to respond to my query. I'd like to clarify the specific issue I'm facing. I require a robust monitoring system that can effectively monitor the following services: Elasticsearch, Logstash, Postgres, and the system itself. I've opted to use Metricbeat as the tool to accomplish this task.

To set up the environment, I'm running Elasticsearch, Kibana, and Logstash in a Docker-compose configuration. For testing purposes, I've initially disabled all security features.

Here is the Docker Compose configuration file I've used:

```auto
services:
  es01:
    build:
      context: .
    volumes:
      - blackeveryday:/usr/share/elasticsearch/data
      - ./synonym.txt:/usr/share/elasticsearch/config/synonyms/synonym.txt
      - ./stop_words.txt:/usr/share/elasticsearch/config/stop_words.txt
    environment:
      - discovery.type=single-node
      - xpack.security.enabled=false
      - ES_JAVA_OPTS=-Xms22g -Xmx22g
    networks:
      - elastic
    ports:
      - 9200:9200
    container_name: es01
    restart: always

  kib01:
    image: docker.elastic.co/kibana/kibana:8.9.0
    environment:
      - ELASTICSEARCH_HOSTS=http://es01:9200
    ports:
      - 5601:5601
    networks:
      - elastic
    container_name: kib01
    restart: always
    depends_on:
      - es01

  log01:
    image: docker.elastic.co/logstash/logstash:8.9.0
    volumes:
      - ./logstash.conf:/usr/share/logstash/pipeline/logstash.conf
      - ./logstash.yml:/usr/share/logstash/config/logstash.yml
      - ./postgresql-42.6.0.jar:/usr/share/logstash/postgres_driver/postgresql-42.6.0.jar
    environment:
      - ES_JAVA_OPTS=-Xms8g -Xmx8g
    networks:
      - elastic
    ports:
      - 9600:9600
    container_name: log01
    restart: always
    depends_on:
      - es01

  metricbeat:
    image: docker.elastic.co/beats/metricbeat:8.9.0
    volumes:
      - /proc:/hostfs/proc:ro
      - /sys/fs/cgroup:/hostfs/sys/fs/cgroup:ro
      - /:/hostfs:ro
      - ./metricbeat.yml:/usr/share/metricbeat/metricbeat.yml
      - ./modules.d:/usr/share/metricbeat/modules.d
      - /run/systemd/private:/run/systemd/private
      - /var/run/dbus/:/var/run/dbus/
    user: root
    container_name: metr01
    networks:
      - elastic
    depends_on:
      - es01
networks:
  elastic:
    driver: bridge
volumes:
  blackeveryday:

```

And here is the content of the `metricbeat.yml` configuration file:

```auto
metricbeat.config.modules:
  path: ${path.config}/modules.d/*.yml
  reload.enabled: false
metricbeat.max_start_delay: 40s
metricbeat.modules:
 - module: system
   metricsets:
     - cpu
     - load
     - memory
     - network
     - process
     - process_summary
   xpack.enabled: true
   enabled: true
   period: 10s
   processes: ['.*']
   cpu.metrics: ["percentages", "normalized_percentages"]
  - module: elasticsearch
    metricsets:
      - node
      - node_stats
      - index
      - index_recovery
      - index_summary
      - ingest_pipeline
      - shard
      - ml_job
    xpack.enabled: true
    period: 10s
    hosts: ["es01:9200"]

 - module: logstash
   metricsets: ["node", "node_stats"]
   xpack.enabled: true
   period: 10s
   hosts: ["log01:9600"]

 - module: postgresql
   xpack.enabled: true
   enabled: true
   metricsets:
     - database
     - bgwriter
     - activity
   period: 10s
   hosts: ["postgres://[postgres server]?sslmode=disable"]
   username: user
   password: password

output.elasticsearch:
  hosts: ["es01:9200"]

setup.kibana:
  host: "kib01:5601"
  ssl.enabled: false
setup.dashboards.enabled: true

```

When I navigate to the Stack Monitoring section within Kibana, I notice that only the Logstash and Elasticsearch dashboards are displayed. Even though Metricbeat appears to be successfully retrieving and indexing data for both the system and Postgres (as evidenced by the logs and Elasticsearch indices), these dashboards are conspicuously absent.

Could you provide some guidance on how I can troubleshoot this issue to ensure that the Postgres and system dashboards are displayed in Kibana?

Looking forward to your insights.

Best regards,  
Masoud Lakestani

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [September 4, 2023, 3:07pm UTC](https://discuss.elastic.co/t/troubleshooting-kibana-dashboard-configuration-for-metricbeat-modules/342190/4 "2023-09-04T15:07:19Z")

</div>

Hi @MasoudLakestani

I think there is perhaps a little basic confusion/misunderstanding

That is pretty common as there are different places to find what you are looking for.

Kibana -\> Stack Monitoring  
Is **only** for the Curated Experience for monitoring Elastic Stack Components  
Think of this as a completely dedicated UI.

- Elasticsearch
- Kibana
- Logstash
- Beats
- Integration / APM Server

**No other components will show up there like Postrges as they are not part of the Elastic Stack**

 ![Screenshot 2023-09-04 at 8.08.31 AM](https://us1.discourse-cdn.com/elastic/original/3X/6/0/601858cbc694ae84fb673645d54451349b01ed5e.png)

For other components, there are 2 places to look.

For simple Infrastructure metrics you can Look at Kibana - Observability - Infrastructure or Host  
This is an OOTb Curated UI Example

 ![Screenshot 2023-09-04 at 8.02.21 AM](https://us1.discourse-cdn.com/elastic/original/3X/b/9/b93ba73bb8bee90de92fb4aa36c214934d43ebe2.jpeg)

Then of course there are the 100s of Dashboards and Visualization for the Beat / Agents integration

So Go to Dashboard and Search for

Hosts / System Overview

 ![Screenshot 2023-09-04 at 8.03.16 AM](https://us1.discourse-cdn.com/elastic/original/3X/3/d/3da26dc6eda4345a77527584457a01611e1be7ba.png)

 ![Screenshot 2023-09-04 at 8.03.24 AM](https://us1.discourse-cdn.com/elastic/original/3X/1/2/12998e43640bc777518a6961d107e4d8f996093a.png)

or for Postgres search for Postgres I do not have that loaded right now but assuming you `setup` metricbeat properly A dashboard should be there

Yup a little confusing but hopefully that helps a bit.

---

<div class="post-metadata">

**Author:** ![MasoudLakestani](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/masoudlakestani/32/125226_2.png) [@MasoudLakestani](https://discuss.elastic.co/u/MasoudLakestani)\
**Post date:** [September 10, 2023, 10:59am UTC](https://discuss.elastic.co/t/troubleshooting-kibana-dashboard-configuration-for-metricbeat-modules/342190/5 "2023-09-10T10:59:20Z")

</div>

Thank you, @stephenb. My problem has been solved.

---

<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:** [October 8, 2023, 10:59am UTC](https://discuss.elastic.co/t/troubleshooting-kibana-dashboard-configuration-for-metricbeat-modules/342190/6 "2023-10-08T10:59:30Z")

</div>

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