You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to send logs from kafka to aws cloudwatch log groups, I searched some document, it mentioned the configuration something like below, but can NOT work well
[2023-05-15T02:23:24,356][ERROR][logstash.plugins.registry] Unable to load plugin. {:type=>"output", :name=>"cloudwatch_logs"}
[2023-05-15T02:23:24,370][ERROR][logstash.agent ] Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"Java::JavaLang::IllegalStateException", :message=>"Unable to configure plugins: (PluginLoadingError) Couldn't find any output plugin named 'cloudwatch_logs'. Are you sure this is correct? Trying to load the cloudwatch_logs output plugin resulted in this error: Unable to load the requested plugin named cloudwatch_logs of type output. The plugin is not installed."
The text was updated successfully, but these errors were encountered:
It was created for my own needs, so you can't specify timestamp or message fields, it will use @timestamp as timestamp and the whole event in JSON format as message
To install it you can simply use logstash-plugin install logstash-output-awslogs
I tried to send logs from kafka to aws cloudwatch log groups, I searched some document, it mentioned the configuration something like below, but can NOT work well
output {
cloudwatch_logs {
log_group_name => "my-log-group"
log_stream_name => "my-log-stream"
region => "us-east-1"
access_key_id => "my-access-key-id"
secret_access_key => "my-secret-access-key"
message => "%{message}"
timestamp => "%{timestamp}"
}
}
I got below error:
[2023-05-15T02:23:24,356][ERROR][logstash.plugins.registry] Unable to load plugin. {:type=>"output", :name=>"cloudwatch_logs"}
[2023-05-15T02:23:24,370][ERROR][logstash.agent ] Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"Java::JavaLang::IllegalStateException", :message=>"Unable to configure plugins: (PluginLoadingError) Couldn't find any output plugin named 'cloudwatch_logs'. Are you sure this is correct? Trying to load the cloudwatch_logs output plugin resulted in this error: Unable to load the requested plugin named cloudwatch_logs of type output. The plugin is not installed."
The text was updated successfully, but these errors were encountered: