# Filebeat INFO output - libbeat.pipeline.events.filtered

**URL:** https://discuss.elastic.co/t/filebeat-info-output-libbeat-pipeline-events-filtered/115798
**Category:** Beats
**Tags:** filebeat
**Created:** [January 16, 2018, 10:20pm UTC](https://discuss.elastic.co/t/filebeat-info-output-libbeat-pipeline-events-filtered/115798 "2018-01-16T22:20:18Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![rkearsley](https://avatars.discourse-cdn.com/v4/letter/r/76d3ee/32.png) [@rkearsley](https://discuss.elastic.co/u/rkearsley)
#### Post date: [January 16, 2018, 10:20pm UTC](https://discuss.elastic.co/t/filebeat-info-output-libbeat-pipeline-events-filtered/115798/1 "2018-01-16T22:20:18Z")

</div>

Hello  
Watching filebeat run in the console with '-e' option, I can see it spitting out "INFO Non-zero metrics in the last 30s:"

I looked closer at some of the values:

beat.info.uptime.ms=29996  
beat.memstats.gc\_next=26967824  
beat.memstats.memory\_alloc=20770720  
beat.memstats.memory\_total=5068039560  
filebeat.events.added=144  
filebeat.events.done=144  
filebeat.harvester.closed=3  
filebeat.harvester.open\_files=0  
filebeat.harvester.running=0  
filebeat.harvester.started=3  
libbeat.config.module.running=0  
libbeat.output.read.bytes=1404  
libbeat.output.write.bytes=112515  
libbeat.pipeline.clients=1  
libbeat.pipeline.events.active=0  
**libbeat.pipeline.events.filtered=6**  
libbeat.pipeline.events.published=138  
libbeat.pipeline.events.total=144  
libbeat.pipeline.queue.acked=138  
registrar.states.current=343  
registrar.states.update=144  
registrar.writes=6

I could not find much info on what these values mean, but I am particularly interested in the one called 'libbeat.pipeline.events.filtered' because it seems to suggest 6 of my log lines didn't make it through to be published. I could be wrong but looking for clarification... (and a way to find the problem with those 6 lines if indeed they are not being published)

Filebeat version 6.1, json log input and ES output

Thanks  
Richard

---

<div class="post-metadata">

### Author: ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)
#### Post date: [January 16, 2018, 10:34pm UTC](https://discuss.elastic.co/t/filebeat-info-output-libbeat-pipeline-events-filtered/115798/2 "2018-01-16T22:34:12Z")

</div>

Please share the complete Filebeat configuration you are using.

---

<div class="post-metadata">

### Author: ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)
#### Post date: [January 16, 2018, 10:39pm UTC](https://discuss.elastic.co/t/filebeat-info-output-libbeat-pipeline-events-filtered/115798/3 "2018-01-16T22:39:46Z")

</div>

I believe this metric gets incremented with a processor intentional drops an event. Are you using processors?

- Related source: [https://github.com/elastic/beats/blob/84e021d2ca391a2a924e214bd039517933ec3f5a/libbeat/publisher/pipeline/client.go#L87-L89](https://github.com/elastic/beats/blob/84e021d2ca391a2a924e214bd039517933ec3f5a/libbeat/publisher/pipeline/client.go#L87-L89)

---

<div class="post-metadata">

### Author: ![rkearsley](https://avatars.discourse-cdn.com/v4/letter/r/76d3ee/32.png) [@rkearsley](https://discuss.elastic.co/u/rkearsley)
#### Post date: [January 16, 2018, 10:42pm UTC](https://discuss.elastic.co/t/filebeat-info-output-libbeat-pipeline-events-filtered/115798/4 "2018-01-16T22:42:09Z")

</div>

Hi, thanks for looking. Here's the config

```
filebeat:
  prospectors:
    -
      paths:
        - /data/logs/json/*.json
      input_type: log
      close_inactive: 5m
      close_eof: true
      clean_inactive: 25h
      ignore_older: 24h
      harvester_limit: 2
      scan.sort: "filename"
      json.keys_under_root: false

setup.template.name: "edge"
setup.template.pattern: "edge-*"
setup.template.fields: "template.json"

output.elasticsearch:
  hosts: ["http://x.x.x.x:9200"]
  index: "edge-nginx-%{+yyyy.MM.dd}"
  worker: 8
  bulk_max_size: 4096
```

---

<div class="post-metadata">

### Author: ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)
#### Post date: [January 17, 2018, 3:30pm UTC](https://discuss.elastic.co/t/filebeat-info-output-libbeat-pipeline-events-filtered/115798/5 "2018-01-17T15:30:32Z")

</div>

No processors are used in the config so I'm surprised that `libbeat.pipeline.events.filtered` is \> 0.

@steffens What would cause `libbeat.pipeline.events.filtered > 0` ?

---

<div class="post-metadata">

### Author: ![GaryHuang](https://avatars.discourse-cdn.com/v4/letter/g/51bf81/32.png) [@GaryHuang](https://discuss.elastic.co/u/GaryHuang)
#### Post date: [January 18, 2018, 12:25pm UTC](https://discuss.elastic.co/t/filebeat-info-output-libbeat-pipeline-events-filtered/115798/6 "2018-01-18T12:25:30Z")

</div>

It may be caused by the empty lines. And there are many other events, like files state updated that u can find in Prospector.updateState.

---

<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: [January 19, 2018, 4:55pm UTC](https://discuss.elastic.co/t/filebeat-info-output-libbeat-pipeline-events-filtered/115798/7 "2018-01-19T16:55:15Z")

</div>

Right, filebeat creates empty events on file state updates. These should not be published to the output, but must be processed (ACKed) in order with the other events, so to have the registry file updated in order. These empty events are filtered out by the publisher pipeline.

It's some 'internals' we hope to get rid of in the future.

---

<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: [February 16, 2018, 4:55pm UTC](https://discuss.elastic.co/t/filebeat-info-output-libbeat-pipeline-events-filtered/115798/8 "2018-02-16T16:55:50Z")

</div>

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