Hi There,
due to the original documentation does not help,
I hope you could!
I have a logstash conf file.
That works fine as Standalone.
Now I have 3 files which I want to index
These 3 files are different, so each have its own conf file to transform in different ways.
However! I like to Index all 3 via logstash pipeline.yml
- pipeline.id: ps
pipeline.workers: 1
pipeline.batch.size: 1
path.config: "/Logstash/bin/_ps_logstash_1.conf"
- pipeline.id: so
pipeline.workers: 1
pipeline.batch.size: 1
path.config: "/Logstash/bin/_so_logstash_1.conf"
- pipeline.id: va
pipeline.workers: 1
pipeline.batch.size: 1
path.config: "/Logstash/bin/_va_logstash_1.conf"
....nothing more here, for first steps to understand how to.
I run logstash.bat (no -e or -f)
C:\Logstash\bin>logstash.bat
Sending Logstash logs to C:/Logstash/logs which is now configured via log4j2.properties
ERROR: Failed to read pipelines yaml file. Location: C:/Logstash/config/pipelines.yml
usage:
bin/logstash -f CONFIG_PATH [-t] [-r] [-w COUNT] [-l LOG]
bin/logstash --modules MODULE_NAME [-M "MODULE_NAME.var.PLUGIN_TYPE.PLUGIN_NAME.VARIABLE_NAME=VALUE"] [-t] [-w COUNT] [-l LOG]
bin/logstash -e CONFIG_STR [-t] [--log.level fatal|error|warn|info|debug|trace] [-w COUNT] [-l LOG]
bin/logstash -i SHELL [--log.level fatal|error|warn|info|debug|trace]
bin/logstash -V [--log.level fatal|error|warn|info|debug|trace]
bin/logstash --help
[2019-01-22T15:34:47,566][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
Why? Because the file is there!
I tried with \ and /
Thanks and Regards