title: Restrict Metricbeats Postgresql module logging to single database
body: <p>Using this Helm chart to log Postgres with great results 
  <a href="https://github.com/elastic/helm-charts/tree/master/metricbeat" rel="nofollow noreferrer">https://github.com/elastic/helm-charts/tree/master/metricbeat</a></p>
  
  <p>Unfortunately, it's logging all of our databases instead of just production. Can someone recommend how to restrict it to a single database? I suspect that I if I restricted the user's access to DB's from PSQL, it would just show me error messages instead of actually restricting it.</p>
  
  <p>values.yaml for Helm below:</p>
  
  <pre><code>metricbeatConfig:
    metricbeat.yml: |
      system:
        hostfs: /hostfs
      reload.enabled: true
      metricbeat.modules:
      - module: postgresql
        enabled: true
        metricsets:
          - database
        hosts: ['postgres://USER:PW@AWS.rds.amazonaws.com:5432/DATABASE_NAME']
      output.elasticsearch:
        hosts: '${ELASTICSEARCH_HOSTS:elasticsearch-master:9200}'
  </code></pre>