Unable to test pipeline in logstash

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

Hi,

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

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