I. had passed as below to Logstash. It is not taking.
I. have to pass multiple input files. to Logstash , so I had created multiple conf files as below
-------I. passed like below
bin/logstash -f logstash-filter*.conf
I had tried. as below by putting multiple config files in folder and passing folder with -f option. It throws error.
----------I passed like this
bin/logstash -f fileconfig
[2018-07-03T15:38:42,953][ERROR][logstash.agent ] Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"LogStash::ConfigurationError", :message=>"Expected one of #, input, filter, output at line 33, column 1 (byte 688) after ", :backtrace=>["/Users/krishna/Elastic-kibana-logstash/logsta
I had shown my conf files in folder. Is there a way to put two input csv files in a single .conf file ? I could not do so. So I put two .conf files in folder and passed folder nam as input
Logstash merges all configuration files found in a directory. It doesn't matter if you have all your inputs, filters, and output in a single file or if you split them in multiple files.
In your case, keep in mind that you have to elasticsearch outputs so you'll send all documents to ES twice.
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.