Hi all,
When trying out my config on a windows laptop this seemed to work fine (v2.2.0 by the way): input { s3 { credentials => ["XXXXXXXXXXXXXXXXXXXXXXXXXXXXX","XXXXXXXXXXXXXXXXXXXXXX"] bucket => "XXXXXX-logqueue" region => "eu-west-1" prefix => "logs/" codec => "json"{ charset => "ISO-8859-1"} type => "s3_logqueue" backup_to_bucket => "XXXXXX-archivedlogs" delete => "true" } }
But when i ran it on ubuntu, using v2.3.0 i had to remove the quotes around "json" otherwise it said plugin "json" not found. Is this likely to be a windows issue or could it be that the new version is taking the values literally and not ignoring the quotes?
Just tested 2.3.0 on windows and got the same error: "Couldn't find any codec plugin named '\"json\"'. Are you sure this is correct? Trying to load the \"json\" codec plugin resulted in this error: no such file to load -- logstash/codecs/\"json\"", :level=>:error}
I'll try again once its released, as I might have built it wrong (always used the packaged version before), but i ran "rake bootstrap", then from the bin folder:
./logstash -f /etc/logstash/conf.d --configtest
and got: The given configuration is invalid. Reason: Couldn't find any codec plugin named '"json"'. Are you sure this is correct? Trying to load the "json" codec plugin resulted in this error: no such file to load -- logstash/codecs/"json" {:level=>:fatal}
So I think its still reading the quotes literally, not a major issue but it seems a bit odd
Cheers!
@Alex_6@StephenGoodall please note that the https://github.com/elastic/logstash/releases are just repo tar.gz and not a proper release package. It is basically the same a cloning the repo at the release tag and you will have to build logstash to have something usable.
thanks @colinsurprenant
I've upgraded to 2.3.1 for some testing, i will remove the quotes around the codec, but do you know if the charset specification will be picked up?
so it will be like this:
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.