# Unable to test pipeline in logstash

**URL:** <https://discuss.elastic.co/t/unable-to-test-pipeline-in-logstash/120313>\
**Category:** Logstash\
**Created:** [February 17, 2018, 3:06pm UTC](https://discuss.elastic.co/t/unable-to-test-pipeline-in-logstash/120313 "2018-02-17T15:06:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_PSPKFan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/_pspkfan/32/27867_2.png) [@\_PSPKFan](https://discuss.elastic.co/u/_PSPKFan)\
**Post date:** [February 17, 2018, 3:06pm UTC](https://discuss.elastic.co/t/unable-to-test-pipeline-in-logstash/120313/1 "2018-02-17T15:06:47Z")

</div>

I'm new to ELK stack. I'm able to install and run the logstash, Elasticsearch, Kibana services individually. But when I'm trying to test pipelining in logstatsh by running below command

bin/logstash -f ..LogstashPipeline.conf -t

I'm getting errors like this. Could some one please help me out.

WARNING: Could not find logstash.yml which is typically located in $LS\_HOME/config or /etc/logstash. You can specify the path using --path.settings. Continuing using the defaults  
Could not find log4j2 configuration at path /usr/share/logstash/etc/logstash/logstash.yml/log4j2.properties. Using default config which logs errors to the console

---

<div class="post-metadata">

**Author:** ![harshbajaj16](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshbajaj16/32/44970_2.png) [@harshbajaj16](https://discuss.elastic.co/u/harshbajaj16)\
**Post date:** [February 19, 2018, 8:56am UTC](https://discuss.elastic.co/t/unable-to-test-pipeline-in-logstash/120313/2 "2018-02-19T08:56:24Z")

</div>

Hi,

You can use below command for test.  
first go to the logstash HOME and then  
bin/logstash --configtest -f \<the config file/folder\>

---

<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:** [March 19, 2018, 8:56am UTC](https://discuss.elastic.co/t/unable-to-test-pipeline-in-logstash/120313/3 "2018-03-19T08:56:29Z")

</div>

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