Hello
I am new to docker also kind of a beginner for elk.
Till now I was using windows for elk now was willing to migrate to docker can some one guide me how can I migrate and run my config file of logstash from my local host to docker on a server.
I m working on a server now on the server i have dragged drop my conf files using winscp now when i tr7y to use the commands as per the documentation it shows this error can u please let me know where i m going wrong.
[gagarwal3@]/% docker run -h logstash --name logstash --link elasticsearch:elasticsearch -it --rm -v "$PWD":/remote/users/gagarwal3/tmp logstash -f /remote/users/gagarwal3/tmp/uuuu.conf
Sending Logstash's logs to /var/log/logstash which is now configured via log4j2.properties
07:13:16.761 [main] INFO logstash.modules.scaffold - Initializing module {:module_name=>"fb_apache", :directory=>"/usr/share/logstash/modules/fb_apache/configuration"}
07:13:16.767 [main] INFO logstash.modules.scaffold - Initializing module {:module_name=>"netflow", :directory=>"/usr/share/logstash/modules/netflow/configuration"}
07:13:16.776 [main] INFO logstash.setting.writabledirectory - Creating directory {:setting=>"path.queue", :path=>"/var/lib/logstash/queue"}
07:13:16.778 [main] INFO logstash.setting.writabledirectory - Creating directory {:setting=>"path.dead_letter_queue", :path=>"/var/lib/logstash/dead_letter_queue"}
07:13:16.814 [LogStash::Runner] INFO logstash.agent - No persistent UUID file found. Generating new UUID {:uuid=>"f70e2899-6cad-4e66-a3e2-64e513613432", :path=>"/var/lib/logstash/uuid"}
07:13:16.913 [LogStash::Runner] INFO logstash.agent - No config files found in path {:path=>"/remote/users/gagarwal3/tmp/uuuu.conf"}
07:13:16.916 [LogStash::Runner] ERROR logstash.agent - failed to fetch pipeline configuration {:message=>"No config files found: /remote/users/gagarwal3/tmp/uuuu.conf. Can you make sure this path is a logstash config file?"}
this is the error
I created a new folder named tmp in the server directory where in i dragged dropped the conf files from the local logstash bin folder_emphasized text_
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.