Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:XXXXX, :exception=>"Java::JavaLang::IllegalStateException", :message=>"Unable to configure plugins: (ArgumentError) URI is not valid - host is not specified", :backtrace=>["org.logstash.config.ir.CompiledPipeline.(CompiledPipeline.java:119)", "org.logstash.execution.JavaBasePipelineExt.initialize(JavaBasePipelineExt.java:83)", "org.logstash.execution.JavaBasePipelineExt$INVOKER$i$1$0$initialize.call(JavaBasePipelineExt$INVOKER$i$1$0$initialize.gen)",
Below is the Code i tried
output{
amazon_es {
hosts => ["https://vpc-XXXXXXXXXX-es-XXXXXXXXXX.us-east-1.es.amazonaws.com:443"]
ssl => true
region => "us-east-1"
index => "index-%{+YYYY.MM.dd}"
aws_access_key_id => "xxxxxxxxxxxxxxxx"
aws_secret_access_key => "xxxxxxxxxxxxxxxxxxxx"
}
}
Also i tried
output{
amazon_es {
hosts => ["https://vpc-XXXXXXXXXX-es-XXXXXXXXXX.us-east-1.es.amazonaws.com:443"]
ssl => true
region => "us-east-1"
index => "index-%{+YYYY.MM.dd}"
aws_access_key_id => "xxxxxxxxxxxxxxxx"
aws_secret_access_key => "xxxxxxxxxxxxxxxxxxxx"
}
}