Just want to confirm I am doing the right thing: if i want to logstash to another ES server at https://example.com, should i just do below in logstash config output section? I do need the port there, right?
Never mind, i managed to make it work in this way in output section (terminal with cli access to aws)
However, if i don't use cli access, but use access-key in comment below, it says but an error occurred and it failed! Are you sure you can reach elasticsearch from this machine using the configuration provided?. Both cli and the access key come from same person... Would you know why? Thanks!
amazon_es {
hosts => ["example.com"]
region => "us-east-1"
# aws_access_key_id, aws_secret_access_key optional if instance profile is configured
#aws_access_key_id => 'aaaaaaaa'
#aws_secret_access_key => '99999999'
index => "generic_logs"
}
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.