# Non-zero metrics in the last 30s - Filebeat

**URL:** https://discuss.elastic.co/t/non-zero-metrics-in-the-last-30s-filebeat/253884
**Category:** Beats
**Tags:** filebeat
**Created:** [October 31, 2020, 2:33am UTC](https://discuss.elastic.co/t/non-zero-metrics-in-the-last-30s-filebeat/253884 "2020-10-31T02:33:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![shinydeng](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@shinydeng](https://discuss.elastic.co/u/shinydeng)
#### Post date: [October 31, 2020, 2:33am UTC](https://discuss.elastic.co/t/non-zero-metrics-in-the-last-30s-filebeat/253884/1 "2020-10-31T02:33:12Z")

</div>

I'm new to ELK and need to do log forwarding for my mulesoft application logs.

my filebeat.yml is below

'''

> [@shinydeng](#):
>
> I'm new to ELK and need to do log forwarding for my mulesoft application logs.
> 
> my filebeat.yml is below
> 
> '''  
> '\> output.elasticsearch:'  
> '\> hosts: ["172.30.162.169:9200"]'  
> '\> index: "mule-%{+yyyy.MM.dd}"'  
> '\> enabled: true'  
> '\> '  
> '\> setup.template.settings:'  
> '\> index.number\_of\_shards: 1'  
> '\> overwrite: true'  
> '\> '  
> '\> setup.template.name: "mule"  
> '\> setup.template.pattern: "mule-\*"'  
> '\> setup.template.path: /usr/share/filebeat/module/mule/\_meta/kibana/Filebeat-  
> mule-business-events.json'  
> '''  
> Here is the Filebeat log.
> 
> ![Capture](https://us1.discourse-cdn.com/elastic/original/3X/e/3/e33783926dcb8480de2bc39b2bc13898951ca2fb.png) It seems there are no errors but I am seeing any metrics on KIBANA.
> 
> then i tried to manual create index "mule" on Elasticseach head , still no metric to elasticsearch and KIBANA untill i used "mule" instead of "mule-%{+yyyy.MM.dd}" in filebeat.yml . but the template i used in filebeat.yml was not applied.

Here is the Filebeat log.

 ![Capture](https://us1.discourse-cdn.com/elastic/original/3X/e/3/e33783926dcb8480de2bc39b2bc13898951ca2fb.png) It seems there are no errors but I am seeing any metrics on KIBANA.

then i tried to manual create index "mule" on Elasticseach head , still no metric to elasticsearch and KIBANA untill i used "mule" instead of "mule-%{+yyyy.MM.dd}" in filebeat.yml . but the template i used in filebeat.yml was not applied.

---

<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: [November 28, 2020, 4:33am UTC](https://discuss.elastic.co/t/non-zero-metrics-in-the-last-30s-filebeat/253884/2 "2020-11-28T04:33:15Z")

</div>

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