ERROR: Pipelines YAML file must contain an array of pipeline configs. Found "Hash" in /server/logstash-6.6.1/config/pipelines.yml
这个是启动logstash时报的错,最后才试出来,下图红框处必须有短横,并且短横前后必须有空格。
![](https://img.laitimes.com/img/_0nNw4CM6IyYiwiM6ICdiwiIn5GcuUDO0QjMwETM4EzNwkTMwIzLc52YucWbp5GZzNmLn9Gbi1yZtl2Lc9CX6MHc0RHaiojIsJye.png)
ERROR: Pipelines YAML file must contain an array of pipeline configs. Found "Hash" in /server/logstash-6.6.1/config/pipelines.yml
这个是启动logstash时报的错,最后才试出来,下图红框处必须有短横,并且短横前后必须有空格。