# Logstash: Showing some output when dropping a message

**URL:** <https://discuss.elastic.co/t/logstash-showing-some-output-when-dropping-a-message/155206>\
**Category:** Logstash\
**Created:** [November 2, 2018, 4:37pm UTC](https://discuss.elastic.co/t/logstash-showing-some-output-when-dropping-a-message/155206 "2018-11-02T16:37:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pkaramol](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pkaramol/32/22610_2.png) [@pkaramol](https://discuss.elastic.co/u/pkaramol)\
**Post date:** [November 2, 2018, 4:37pm UTC](https://discuss.elastic.co/t/logstash-showing-some-output-when-dropping-a-message/155206/1 "2018-11-02T16:37:56Z")

</div>

At some point, I perform a check on incoming events and conditionally drop some of them

```
if "to_internal_traffic" in [tags] {
    drop {}
  }

```

My question is whether it is possible to get some debug output at the time of event dropping.

---

<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 30, 2018, 4:38pm UTC](https://discuss.elastic.co/t/logstash-showing-some-output-when-dropping-a-message/155206/2 "2018-11-30T16:38:11Z")

</div>

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