# Testing log stash filter against data

**URL:** https://discuss.elastic.co/t/testing-log-stash-filter-against-data/56325
**Category:** Logstash
**Created:** [July 25, 2016, 6:03pm UTC](https://discuss.elastic.co/t/testing-log-stash-filter-against-data/56325 "2016-07-25T18:03:38Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![141984](https://avatars.discourse-cdn.com/v4/letter/1/c37758/32.png) [@141984](https://discuss.elastic.co/u/141984)
#### Post date: [July 25, 2016, 6:03pm UTC](https://discuss.elastic.co/t/testing-log-stash-filter-against-data/56325/1 "2016-07-25T18:03:38Z")

</div>

Hi All,

When i try to test a log stash filter, against some data, like below

`/opt/logstash/bin/logstash -f /etc/logstash/conf.d/11-tomcat-filter.conf < /home/gibu_test/data4`

All i get in the output is:  
Settings: Default pipeline workers: 2  
Pipeline main started  
Pipeline main has been shutdown  
stopping pipeline {:id=\>"main"}

What does this mean?why isn't it able to parse the data?

---

<div class="post-metadata">

### Author: ![141984](https://avatars.discourse-cdn.com/v4/letter/1/c37758/32.png) [@141984](https://discuss.elastic.co/u/141984)
#### Post date: [July 25, 2016, 6:17pm UTC](https://discuss.elastic.co/t/testing-log-stash-filter-against-data/56325/2 "2016-07-25T18:17:19Z")

</div>

Added --verbose and --debug, seeing output now.

---

<div class="post-metadata">

### Author: ![niraj\_kumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/niraj_kumar/32/4130_2.png) [@niraj\_kumar](https://discuss.elastic.co/u/niraj_kumar)
#### Post date: [July 25, 2016, 6:44pm UTC](https://discuss.elastic.co/t/testing-log-stash-filter-against-data/56325/3 "2016-07-25T18:44:25Z")

</div>

Does this work for you after adding the data? If not can you paste the logstash config.

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [July 30, 2016, 12:18pm UTC](https://discuss.elastic.co/t/testing-log-stash-filter-against-data/56325/4 "2016-07-30T12:18:41Z")

</div>

Unless your 11-tomcat-filter.conf contains a stdin input and e.g. a stdout output you don't have any inputs or outputs.

---

<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, 4:45am UTC](https://discuss.elastic.co/t/testing-log-stash-filter-against-data/56325/5 "2017-07-06T04:45:45Z")

</div>


