# How to send logs to http output plugins conditionally

**URL:** https://discuss.elastic.co/t/how-to-send-logs-to-http-output-plugins-conditionally/243403
**Category:** Logstash
**Created:** [July 31, 2020, 9:34pm UTC](https://discuss.elastic.co/t/how-to-send-logs-to-http-output-plugins-conditionally/243403 "2020-07-31T21:34:42Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [July 31, 2020, 9:43pm UTC](https://discuss.elastic.co/t/how-to-send-logs-to-http-output-plugins-conditionally/243403/2 "2020-07-31T21:43:56Z")

</div>

[This](https://discuss.elastic.co/t/logstash-filter-basted-on-log-file-age/241350/2) has an example of how to process conditionally based on age.

---

_[View the full topic](https://discuss.elastic.co/t/how-to-send-logs-to-http-output-plugins-conditionally/243403)._
