# Testing Logstash filters within another Chef wrapper cookbook

**URL:** <https://discuss.elastic.co/t/testing-logstash-filters-within-another-chef-wrapper-cookbook/29471>\
**Category:** Logstash\
**Created:** [September 17, 2015, 10:10am UTC](https://discuss.elastic.co/t/testing-logstash-filters-within-another-chef-wrapper-cookbook/29471 "2015-09-17T10:10:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hartfordfive](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hartfordfive/32/44794_2.png) [@hartfordfive](https://discuss.elastic.co/u/hartfordfive)\
**Post date:** [September 17, 2015, 10:10am UTC](https://discuss.elastic.co/t/testing-logstash-filters-within-another-chef-wrapper-cookbook/29471/1 "2015-09-17T10:10:34Z")

</div>

My team and I have implemented a wrapper cookbook that uses the Logstash cookbook and we would like to know if there's a simple way we can test the filters in the Logstash config within Server Spec tests in our wrapper cookbook? I've come across "[Tips: Testing your filters](https://github.com/elastic/logstash/wiki/Tips:Testing-your-filters)" on the project wiki although i can't seem to figure out who to use this directly my cookbook's server spec tests. I'd appreciate any help i can get.

---

<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:** [July 6, 2017, 5:28am UTC](https://discuss.elastic.co/t/testing-logstash-filters-within-another-chef-wrapper-cookbook/29471/2 "2017-07-06T05:28:14Z")

</div>

Closed on July 6, 2017, 5:28am UTC


