# Error INFO No non-zero metrics in the last 30s

**URL:** <https://discuss.elastic.co/t/error-info-no-non-zero-metrics-in-the-last-30s/96600>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [August 10, 2017, 11:52am UTC](https://discuss.elastic.co/t/error-info-no-non-zero-metrics-in-the-last-30s/96600 "2017-08-10T11:52:37Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![hadivarp](https://avatars.discourse-cdn.com/v4/letter/h/8c91f0/32.png) [@hadivarp](https://discuss.elastic.co/u/hadivarp)\
**Post date:** [August 10, 2017, 11:52am UTC](https://discuss.elastic.co/t/error-info-no-non-zero-metrics-in-the-last-30s/96600/1 "2017-08-10T11:52:37Z")

</div>

I know this error is repeated a lot but I am really confused . I need to run file beat and ELK on two different server witch one of the is client and the other sever . I follow all the steps that comes in instruction . about the server all things is right because I test as instruction said and elk response positive but about file beat as the others I follow the steps but it gave me this :

> [root@localhost filebeat]# ./filebeat -e -c filebeat.yml -d "publish"  
> \2017/08/10 11:49:18.942046 beat.go:285: INFO Home path: [/home/new/filebeat] Config path: [/home/new/filebeat] Data path: [/home/new/filebeat/data] Logs path: [/home/new/filebeat/logs]  
> 2017/08/10 11:49:18.942076 beat.go:186: INFO Setup Beat: filebeat; Version: 5.5.1  
> 2017/08/10 11:49:18.942176 metrics.go:23: INFO Metrics logging every 30s  
> 2017/08/10 11:49:18.942258 output.go:258: INFO Loading template enabled. Reading template file: /home/new/filebeat/filebeat.template.json  
> 2017/08/10 11:49:18.943409 output.go:269: INFO Loading template enabled for Elasticsearch 2.x. Reading template file: /home/new/filebeat/filebeat.template-es2x.json  
> 2017/08/10 11:49:18.955688 output.go:281: INFO Loading template enabled for Elasticsearch 6.x. Reading template file: /home/new/filebeat/filebeat.template-es6x.json  
> 2017/08/10 11:49:18.969128 client.go:128: INFO Elasticsearch url: [http://192.168.80.131:5000](http://192.168.80.131:5000)  
> 2017/08/10 11:49:18.969224 outputs.go:108: INFO Activated elasticsearch as output plugin.  
> 2017/08/10 11:49:18.969253 publish.go:238: DBG Create output worker  
> 2017/08/10 11:49:18.969608 publish.go:280: DBG No output is defined to store the topology. The server fields might not be filled.  
> 2017/08/10 11:49:18.969855 publish.go:295: INFO Publisher name: localhost.localdomain  
> 2017/08/10 11:49:18.972041 async.go:63: INFO Flush Interval set to: 1s  
> 2017/08/10 11:49:18.972070 async.go:64: INFO Max Bulk Size set to: 50  
> 2017/08/10 11:49:18.972119 async.go:72: DBG create bulk processing worker (interval=1s, bulk size=50)  
> 2017/08/10 11:49:18.983583 beat.go:221: INFO filebeat start running.  
> 2017/08/10 11:49:18.983642 registrar.go:85: INFO Registry file set to: /home/new/filebeat/data/registry  
> 2017/08/10 11:49:18.983682 registrar.go:106: INFO Loading registrar data from /home/new/filebeat/data/registry  
> 2017/08/10 11:49:18.990299 registrar.go:123: INFO States Loaded from registrar: 0  
> 2017/08/10 11:49:18.990414 crawler.go:38: INFO Loading Prospectors: 1  
> 2017/08/10 11:49:18.990433 registrar.go:236: INFO Starting Registrar  
> 2017/08/10 11:49:18.990471 sync.go:41: INFO Start sending events to output  
> 2017/08/10 11:49:18.990579 prospector\_log.go:65: INFO Prospector with previous states loaded: 0  
> 2017/08/10 11:49:18.990646 prospector.go:124: INFO Starting prospector of type: log; id: 8284376112863071513  
> 2017/08/10 11:49:18.990655 crawler.go:58: INFO Loading and starting Prospectors completed. Enabled prospectors: 1  
> 2017/08/10 11:49:18.990674 spooler.go:63: INFO Starting spooler: spool\_size: 2048; idle\_timeout: 5s  
> 2017/08/10 11:49:48.945277 metrics.go:34: INFO No non-zero metrics in the last 30s  
> 2017/08/10 11:50:18.943965 metrics.go:34: INFO No non-zero metrics in the last 30s  
> 2017/08/10 11:50:48.943557 metrics.go:34: INFO No non-zero metrics in the last 30s

this is my file beat configuration :

```
filebeat.prospectors:

- input_type: log 
  
  paths:
    - /usr/share/tomcat/log_app/news/*.log

#-------------------------- Elasticsearch output ------------------------------
output.elasticsearch:
  
  hosts: ["192.168.80.131:9200"]
	
#----------------------------- Logstash output --------------------------------
#output.logstash:
  
  hosts: ["192.168.80.131:5000"]

```

this is my logstash config :

```
input {
    beats {
        port => "5000"
    }
}
 filter {
    grok {
        match => { "message" => "%{COMBINEDAPACHELOG}"}
    }
    geoip {
        source => "clientip"
    }
}
output {
    elasticsearch {
        hosts => ["localhost:9200"]
	index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}"
        document_type => "%{[@metadata][type]}"
	
    }
} 

```

I follow this article : [https://stackoverflow.com/questions/41949989/info-no-non-zero-metrics-in-the-last-30s-message-in-filebeat](https://stackoverflow.com/questions/41949989/info-no-non-zero-metrics-in-the-last-30s-message-in-filebeat)

but noting change .

I use  
Elasticsearch : 5.5.1  
kibana : 5.5.1  
logstash : 5.5.1  
file beat : 5.5.1

Please help me

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [August 10, 2017, 2:35pm UTC](https://discuss.elastic.co/t/error-info-no-non-zero-metrics-in-the-last-30s/96600/2 "2017-08-10T14:35:30Z")

</div>

check your filebeat configuration. You want to send to logstash or elasticsearch? For example see log message `2017/08/10 11:49:18.969128 client.go:128: INFO Elasticsearch url: http://192.168.80.131:5000`. You really want to send to ES, not LS?

Can you try:

```auto
filebeat.prospectors:
- input_type: log   
  paths:
    - /usr/share/tomcat/log_app/news/*.log

#----------------------------- Logstash output --------------------------------
output.logstash:  
  hosts: ["192.168.80.131:5000"]

```

---

<div class="post-metadata">

**Author:** ![hadivarp](https://avatars.discourse-cdn.com/v4/letter/h/8c91f0/32.png) [@hadivarp](https://discuss.elastic.co/u/hadivarp)\
**Post date:** [August 12, 2017, 6:32am UTC](https://discuss.elastic.co/t/error-info-no-non-zero-metrics-in-the-last-30s/96600/3 "2017-08-12T06:32:51Z")

</div>

I change what you said but noting change again , I found this [link](http://techqa.info/programming/question/41949989/info-no-non-zero-metrics-in-the-last-30s-message-in-filebeat) but still as the same .

please help

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [August 14, 2017, 12:52pm UTC](https://discuss.elastic.co/t/error-info-no-non-zero-metrics-in-the-last-30s/96600/4 "2017-08-14T12:52:00Z")

</div>

Can you share filebeat logs with the new configuration?

---

<div class="post-metadata">

**Author:** ![venkatmatta](https://avatars.discourse-cdn.com/v4/letter/v/e9c0ed/32.png) [@venkatmatta](https://discuss.elastic.co/u/venkatmatta)\
**Post date:** [August 15, 2017, 6:13pm UTC](https://discuss.elastic.co/t/error-info-no-non-zero-metrics-in-the-last-30s/96600/5 "2017-08-15T18:13:44Z")

</div>

i am also getting same error but i am running the filebeat in windows

error msg

2017-08-15T13:59:23-04:00 INFO Non-zero metrics in the last 30s: registrar.states.update=1 publish.events=1 libbeat.publisher.published\_events=1 libbeat.es.publish.read\_bytes=340 libbeat.es.published\_and\_acked\_events=1 libbeat.es.call\_count.PublishEvents=1 libbeat.es.publish.write\_bytes=82065 registrar.writes=1

filebeat.prospectors:

# Paths that should be crawled and fetched. Glob based paths.

paths:  
#- /var/log/\*.log

# - E:\apache-jmeter-3.1\bin\jmeter.log

# - E:\apache-jmeter-3.1\bin\jmeter-server.log

# - E:\apache-jmeter-3.0\bin\jmeter.log

# - E:\apache-jmeter-3.1\bin\jmeter-server.log

```
- E:\Scale\Errors\error.log
multiline.pattern: ^[0-9]{4}/[0-9]{2}/[0-9]{2}

```

multiline.negate: true  
multiline.match: after

output.elasticsearch:

# Array of hosts to connect to.

hosts: ["[http://10.140.32.12:9200](http://10.140.32.12:9200)"]

Please let me know if i need to do any config changes

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [August 15, 2017, 7:56pm UTC](https://discuss.elastic.co/t/error-info-no-non-zero-metrics-in-the-last-30s/96600/6 "2017-08-15T19:56:16Z")

</div>

This is no error. It's an INFO message containing information about internal metric changes. This helps us in getting some insights from users having problems.

The metrics `libbeat.es.published_and_acked_events` indicates an event has been published to Elasticsearch.

---

<div class="post-metadata">

**Author:** ![venkatmatta](https://avatars.discourse-cdn.com/v4/letter/v/e9c0ed/32.png) [@venkatmatta](https://discuss.elastic.co/u/venkatmatta)\
**Post date:** [August 15, 2017, 8:01pm UTC](https://discuss.elastic.co/t/error-info-no-non-zero-metrics-in-the-last-30s/96600/7 "2017-08-15T20:01:48Z")

</div>

Sorry for misstatement , i am unable to see any stats in the kibana dashboard though filebeats is running in my machine

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [August 16, 2017, 1:22pm UTC](https://discuss.elastic.co/t/error-info-no-non-zero-metrics-in-the-last-30s/96600/8 "2017-08-16T13:22:15Z")

</div>

@venkatmatta can you please open a new topic with complete config + logs (format using the `</>` button to make you post somewhat readable). Your problem seems different from original discussion. Let's not highjack this discussion.

---

<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:** [September 13, 2017, 1:22pm UTC](https://discuss.elastic.co/t/error-info-no-non-zero-metrics-in-the-last-30s/96600/9 "2017-09-13T13:22:21Z")

</div>

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