# .990056 logp.go:232:INFO No non-zero metrics in the last 30s

**URL:** <https://discuss.elastic.co/t/990056-logp-go-232-info-no-non-zero-metrics-in-the-last-30s/130004>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [April 30, 2018, 9:40am UTC](https://discuss.elastic.co/t/990056-logp-go-232-info-no-non-zero-metrics-in-the-last-30s/130004 "2018-04-30T09:40:33Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![siva1](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@siva1](https://discuss.elastic.co/u/siva1)\
**Post date:** [April 30, 2018, 9:40am UTC](https://discuss.elastic.co/t/990056-logp-go-232-info-no-non-zero-metrics-in-the-last-30s/130004/1 "2018-04-30T09:40:33Z")

</div>

Hi Guys,

i am getting non-zero metrics

filebeat\_1 | 2018/04/30 08:54:50.988423 beat.go:177: INFO Setup Beat: filebeat; Version: 5.2.1  
filebeat\_1 | 2018/04/30 08:54:50.988521 logstash.go:90: INFO Max Retries set to: 3  
filebeat\_1 | 2018/04/30 08:54:50.988725 outputs.go:106: INFO Activated logstash as output plugin.  
filebeat\_1 | 2018/04/30 08:54:50.988759 outputs.go:106: INFO Activated console as output plugin.  
filebeat\_1 | 2018/04/30 08:54:50.988951 publish.go:291: INFO Publisher name: d96352b188ef  
filebeat\_1 | 2018/04/30 08:54:50.989464 async.go:63: INFO Flush Interval set to: 1s  
filebeat\_1 | 2018/04/30 08:54:50.989479 async.go:64: INFO Max Bulk Size set to: 2048  
filebeat\_1 | 2018/04/30 08:54:50.989535 async.go:63: INFO Flush Interval set to: 1s  
filebeat\_1 | 2018/04/30 08:54:50.989551 async.go:64: INFO Max Bulk Size set to: 2048  
filebeat\_1 | 2018/04/30 08:54:50.989709 beat.go:207: INFO filebeat start running.  
filebeat\_1 | 2018/04/30 08:54:50.989728 logp.go:219: INFO Metrics logging every 30s  
filebeat\_1 | 2018/04/30 08:54:50.989756 registrar.go:68: INFO No registry file found under: /data/registry. Creating a new registry file.  
filebeat\_1 | 2018/04/30 08:54:50.990014 registrar.go:106: INFO Loading registrar data from /data/registry  
filebeat\_1 | 2018/04/30 08:54:50.990054 registrar.go:123: INFO States Loaded from registrar: 0  
filebeat\_1 | 2018/04/30 08:54:50.990071 crawler.go:34: INFO Loading Prospectors: 1  
filebeat\_1 | 2018/04/30 08:54:50.990207 crawler.go:48: INFO Loading Prospectors completed. Number of prospectors: 1  
filebeat\_1 | 2018/04/30 08:54:50.990220 crawler.go:63: INFO All prospectors are initialised and running with 0 states to persist  
filebeat\_1 | 2018/04/30 08:54:50.990232 registrar.go:236: INFO Starting Registrar  
filebeat\_1 | 2018/04/30 08:54:50.990259 sync.go:41: INFO Start sending events to output  
filebeat\_1 | 2018/04/30 08:54:50.990290 spooler.go:63: INFO Starting spooler: spool\_size: 2048; idle\_timeout: 5s  
filebeat\_1 | 2018/04/30 08:54:50.990312 prospector.go:112: INFO Starting prospector of type: stdin  
filebeat\_1 | 2018/04/30 08:54:50.990358 log.go:84: INFO Harvester started for file: -  
filebeat\_1 | Processing test.1.31tk5935ub2ryb4fpvwi62651 ...  
filebeat\_1 | Processing resources\_elk\_1 ...  
filebeat\_1 | Processing myfilebeat\_filebeat\_1 ...  
filebeat\_1 | 2018/04/30 08:55:20.990199 logp.go:230: INFO Non-zero metrics in the last 30s: filebeat.harvester.running=1 registrar.writes=1 filebeat.harvester.started=1  
filebeat\_1 | 2018/04/30 08:55:50.990080 logp.go:232: INFO No non-zero metrics in the last 30s

help me!

---

<div class="post-metadata">

**Author:** ![harshbajaj16](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshbajaj16/32/44970_2.png) [@harshbajaj16](https://discuss.elastic.co/u/harshbajaj16)\
**Post date:** [April 30, 2018, 10:17am UTC](https://discuss.elastic.co/t/990056-logp-go-232-info-no-non-zero-metrics-in-the-last-30s/130004/2 "2018-04-30T10:17:01Z")

</div>

Hi,

> [@siva1](#):
>
> filebeat\_1 | 2018/04/30 08:55:20.990199 logp.go:230: INFO Non-zero metrics in the last 30s: filebeat.harvester.running=1 registrar.writes=1 filebeat.harvester.started=1

This message is **INFO** for monitoring with logstash. i'm not able to see any error here.

could you please check logstash instance working or not and also share the logs and give some more input about your use case for further investigation.

> Logs: /var/log/logstash

Thanks,

---

<div class="post-metadata">

**Author:** ![siva1](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@siva1](https://discuss.elastic.co/u/siva1)\
**Post date:** [April 30, 2018, 10:40am UTC](https://discuss.elastic.co/t/990056-logp-go-232-info-no-non-zero-metrics-in-the-last-30s/130004/3 "2018-04-30T10:40:21Z")

</div>

Hi @Harsh Bajaj

Thanks for reply, here is my logstash log

elk\_1 | ==\> /var/log/logstash/logstash-plain.log \<==  
elk\_1 | [2018-04-30T10:35:22,379][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"fb\_apache", :directory=\>"/opt/logstash/modules/fb\_apache/configuration"}  
elk\_1 | [2018-04-30T10:35:22,386][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"netflow", :directory=\>"/opt/logstash/modules/netflow/configuration"}  
elk\_1 | [2018-04-30T10:35:22,391][INFO][logstash.setting.writabledirectory] Creating directory {:setting=\>"path.queue", :path=\>"/opt/logstash/data/queue"}  
elk\_1 | [2018-04-30T10:35:22,393][INFO][logstash.setting.writabledirectory] Creating directory {:setting=\>"path.dead\_letter\_queue", :path=\>"/opt/logstash/data/dead\_letter\_queue"}  
elk\_1 | [2018-04-30T10:35:22,426][INFO][logstash.agent] No persistent UUID file found. Generating new UUID {:uuid=\>"18d43a76-2da4-4776-b4f9-c90678ee5831", :path=\>"/opt/logstash/data/uuid"}  
elk\_1 | [2018-04-30T10:35:23,309][INFO][logstash.outputs.elasticsearch] Elasticsearch pool URLs updated {:changes=\>{:removed=\>[], :added=\>[[http://localhost:9200/](http://localhost:9200/)]}}  
elk\_1 | [2018-04-30T10:35:23,310][INFO][logstash.outputs.elasticsearch] Running health check to see if an Elasticsearch connection is working {:healthcheck\_url=\>[http://localhost:9200/](http://localhost:9200/), :path=\>"/"}  
elk\_1 | [2018-04-30T10:35:23,488][WARN][logstash.outputs.elasticsearch] Restored connection to ES instance {:url=\>"[http://localhost:9200/](http://localhost:9200/)"}  
elk\_1 | [2018-04-30T10:35:23,489][INFO][logstash.outputs.elasticsearch] New Elasticsearch output {:class=\>"LogStash::Outputs::ElasticSearch", :hosts=\>["[//localhost:9200](https://localhost:9200)"]}  
elk\_1 | [2018-04-30T10:35:23,649][INFO][logstash.pipeline] Starting pipeline {"id"=\>"main", "pipeline.workers"=\>4, "pipeline.batch.size"=\>125, "pipeline.batch.delay"=\>5, "pipeline.max\_inflight"=\>500}  
elk\_1 | [2018-04-30T10:35:24,284][INFO][logstash.inputs.beats] Beats inputs: Starting input listener {:address=\>"0.0.0.0:5044"}  
elk\_1 | [2018-04-30T10:35:24,341][INFO][logstash.pipeline] Pipeline main started  
elk\_1 | [2018-04-30T10:35:24,360][INFO][org.logstash.beats.Server] Starting server on port: 5044  
elk\_1 | [2018-04-30T10:35:24,410][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=\>9600}

## My logstashconfig ---

input {  
beats {  
port =\> 5044  
type =\> "filebeat-docker-logs"  
codec =\> json  
}  
}

filter {  
if [docker][name] =~ "relaxed\_goldwasser" or [docker][image] =~ "linux\_tweet\_app" {  
grok {  
break\_on\_match =\> false  
match =\> ["message", "(?\<linux\_tweet\_app\>(?\<=\s\sMS:\s)([\S]\*))" ]  
tag\_on\_failure =\> []  
}  
}  
}

filter {  
if [docker][name] =~ "elastic\_wing" or [docker][name] =~ "alpine" {  
grok {  
break\_on\_match =\> false  
match =\> ["message", "(?(?\<=\s|\sAPI:\s)([\S]\*))" ]  
tag\_on\_failure =\> []  
}  
}  
}

---

<div class="post-metadata">

**Author:** ![harshbajaj16](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshbajaj16/32/44970_2.png) [@harshbajaj16](https://discuss.elastic.co/u/harshbajaj16)\
**Post date:** [April 30, 2018, 11:17am UTC](https://discuss.elastic.co/t/990056-logp-go-232-info-no-non-zero-metrics-in-the-last-30s/130004/4 "2018-04-30T11:17:23Z")

</div>

Hi,

Thanks for sharing this could you please explain a bit what is the issue with this as your logs showing beats is working fine.

> [@siva1](#):
>
> elk\_1 | [2018-04-30T10:35:24,284][INFO][logstash.inputs.beats] Beats inputs: Starting input listener {:address=\>"0.0.0.0:5044"}

i'm not able to understand what you are trying to do and what is the issue.

Thanks,

---

<div class="post-metadata">

**Author:** ![siva1](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@siva1](https://discuss.elastic.co/u/siva1)\
**Post date:** [April 30, 2018, 11:33am UTC](https://discuss.elastic.co/t/990056-logp-go-232-info-no-non-zero-metrics-in-the-last-30s/130004/5 "2018-04-30T11:33:28Z")

</div>

Hi @Harsh Bajaj

Problem is I am not getting the logs from elasticsearch , i am getting like this..

health status index uuid pri rep docs.count docs.deleted store.size pri.store.size  
yellow open .kibana K-6kAvgpSZen1G-IJmf20g 1 1 1 0 3.2kb 3.2kb

I think this is default kibana output right..

## myoutput.conf:

output {  
elasticsearch {  
hosts =\> ["localhost:9200"]  
manage\_template =\> false  
index =\> "%{[@metadata][beat]}-%{+YYYY.MM.dd}"  
document\_type =\> "%{[@metadata][type]}"  
}  
}

---

<div class="post-metadata">

**Author:** ![harshbajaj16](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshbajaj16/32/44970_2.png) [@harshbajaj16](https://discuss.elastic.co/u/harshbajaj16)\
**Post date:** [May 1, 2018, 5:42am UTC](https://discuss.elastic.co/t/990056-logp-go-232-info-no-non-zero-metrics-in-the-last-30s/130004/6 "2018-05-01T05:42:06Z")

</div>

Hi,

> [@](#):
>
> I think this is default kibana output right..

Yes this is default index.

Could you please paste your filebeat.conf file here so that we can check the harvester with log files configuration.

> conf file path : /etc/filebeat/filebeat.yml

Thanks,  
Harsh Bajaj

---

<div class="post-metadata">

**Author:** ![siva1](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@siva1](https://discuss.elastic.co/u/siva1)\
**Post date:** [May 1, 2018, 6:00am UTC](https://discuss.elastic.co/t/990056-logp-go-232-info-no-non-zero-metrics-in-the-last-30s/130004/7 "2018-05-01T06:00:44Z")

</div>

Hi @Harsh Bajaj,  
This is my filebeat.yml :

filebeat:  
prospectors:  
- paths:  
- /var/log/\*.log  
input\_type: "stdin"  
document\_type: log  
multiline.pattern: '^[[:space:]]'  
multiline.negate: false  
multiline.match: after  
registry\_file: ./data/registry  
output:  
console:  
pretty: true  
logstash:  
hosts: ["${LOGSTASH\_HOST:22.99.132.1}:${LOGSTASH\_PORT:5044}"]  
index: filebeat

## docker-compose:

version: '3.1'  
services:  
filebeat:  
image: filebeat:5  
environment:  
LOGSTASH\_HOST: "23.55.34.7"  
LOGSTASH\_PORT: "5044"  
STDIN\_CONTAINER\_LABEL: "all"  
networks:  
- mynet  
volumes:  
- "/root/myfilebeat/filebeat.yml:/etc/filebeat/filebeat.yml:rw"  
- "/var/run/docker.sock:/tmp/docker.sock:ro"

---

<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:** [May 29, 2018, 6:00am UTC](https://discuss.elastic.co/t/990056-logp-go-232-info-no-non-zero-metrics-in-the-last-30s/130004/8 "2018-05-29T06:00:47Z")

</div>

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