error while trying to run logstash on windows 10

Viewed 7

every time I try to run logstash I get this error in the cmd :

[2022-09-16T10:10:41,985][INFO ][logstash.config.source.local.configpathloader] No config files found in path {:path=>"C:/elk stack/logstash-8.4.1/config/logstash-sample"}
[2022-09-16T10:10:41,987][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.

this is what is in my file config :

# Sample Logstash configuration for creating a simple
# Beats -> Logstash -> Elasticsearch pipeline.

input {
  stdin  {

  }
}

output {

 stdout  {
    codec => rubydebug
  }

  elasticsearch {
    hosts => ["http://localhost:9200"]
    index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"
    user => "elastic"
    password => "something"
  }
}

anyone can help please ?

0 Answers
Related