# Docker network metrics not available

**URL:** <https://discuss.elastic.co/t/docker-network-metrics-not-available/172742>\
**Category:** Beats\
**Tags:** docker, metricbeat\
**Created:** [March 18, 2019, 10:13am UTC](https://discuss.elastic.co/t/docker-network-metrics-not-available/172742 "2019-03-18T10:13:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevizik](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@stevizik](https://discuss.elastic.co/u/stevizik)\
**Post date:** [March 18, 2019, 10:13am UTC](https://discuss.elastic.co/t/docker-network-metrics-not-available/172742/1 "2019-03-18T10:13:38Z")

</div>

Hi all,

i am using a kubernetes daemonset to create metricbeat instances in a K8s cluster.  
This seems to work pretty fine and i am able to send system, k8s and docker metrics to elasticsearch . The only thing i am missing is the network metrics that they don't appear in the metrics discovery and of course in visualizations.

Below the daemonset-configmap

> Blockquote  
> apiVersion: v1  
> kind: ConfigMap  
> metadata:  
> name: metricbeat-daemonset-modules  
> namespace: kube-system  
> labels:  
> k8s-app: metricbeat  
> data:  
> metricbeat.yml: |-  
> metricbeat.config.modules:  
> # Mounted `metricbeat-daemonset-modules` configmap:  
> path: ${path.config}/modules.d/_.yml  
> # Reload module configs as they change:  
> reload.enabled: false  
> # To enable hints based autodiscover uncomment this:  
> #metricbeat.autodiscover:  
> # providers:  
> # - type: kubernetes  
> # host: ${NODE\_NAME}  
> # hints.enabled: true  
> processors:  
> - add\_cloud\_metadata:  
> output.elasticsearch:  
> hosts: ['${ELASTICSEARCH\_HOST:172.28.162.21}:${ELASTICSEARCH\_PORT:9200}']  
> index: "metricbeat-daemonset-%{+yyyy.MM.dd}"  
> setup.template:  
> name: 'metricbeat-daemonset'  
> pattern: 'metricbeat-daemonset-_'  
> enabled: true  
> settings:  
> index.number\_of\_shards: 1  
> index.number\_of\_replicas: 1  
> tags: ["backend"]  
> fields:  
> env: staging  
> - module: kubernetes  
> enabled: true  
> metricsets:  
> - state\_node  
> - state\_deployment  
> - state\_replicaset  
> - state\_statefulset  
> - state\_pod  
> - state\_container  
> period: 30s  
> hosts: ["kube-state-metrics:8080"]  
> - module: docker  
> enabled: true  
> metricsets:  
> - container  
> - cpu  
> - diskio  
> - healthcheck  
> - info  
> - memory  
> - network  
> hosts: ["unix:///var/run/docker.sock"]  
> period: 30s

Any help appreciated!

---

<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:** [April 15, 2019, 10:13am UTC](https://discuss.elastic.co/t/docker-network-metrics-not-available/172742/2 "2019-04-15T10:13:39Z")

</div>

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