Hey all,
First time poster. I have been struggling for over a week to get the below conf file to compile. I have read through the forums and it always seems to be missing a } however that does not seem to be the case here. I have removed my config information with **.
It appears to be getting hung up on the codec, any thoughts or suggestions? Thanks in advance.
[ERROR] 2021-11-22 13:42:35.925 [Converge PipelineAction::Create] agent - Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"LogStash:: ConfigurationError", :message=>"Expected one of [ \t\r\n], "#", "{", "}" at line 6, column 13 (byte 179) after input {\n\ts3 {\n\t\tbucket => "S3://***/AWSLogs”\n\t\t access_key_id => “”\n\t\tsecret_access_key => “”\n\t\tcodec => "", :backtrace=>["/usr/share/logstash/logstash-core/lib/logstash/ compiler.rb:32:in compile_imperative'", "org/logstash/execution/AbstractPipelineExt.java:187:in
initialize'", "org/logstash/execution/JavaBasePipelineExt.java:72:in initialize'", "/usr/s hare/logstash/logstash-core/lib/logstash/java_pipeline.rb:47:in
initialize'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline_action/create.rb:52:in execute'", "/usr/share/logsta sh/logstash-core/lib/logstash/agent.rb:391:in
block in converge_state'"]}
Conf file
input {
s3 {
bucket => "S3://”
access_key_id => “”
secret_access_key => “******”
codec => "json"
region => “eu-west-1”
}
}
output {
microsoft-logstash-output-azure-loganalytics {
workspace_id => “*******”
workspace_key => “********"
custom_log_table_name => "AWSGuardDuty"
plugin_flush_interval => 5
}
}