New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logstash: [ERROR][logstash.javapipeline ] A plugin had an unrecoverable error. Will restart this plugin. #446
Comments
You have 2 inputs listening on the same TCP port. You have to remove the |
@farrukhahmed4220 I'll consider this issue solved. Feel free to reopen if that's not the case. |
Hi, My serilog NetTcp client produces the following message construct in json {
"@t": "2021-09-11T23:27:15.5387671Z",
"@mt": "{@request} registered",
"request": {
"RequestId": "ddb7a8e8-9972-4178-a177-a8d5cad1c462",
"DateTime": "2021-09-12T04:57:15.4851381+05:30",
"InfType": "Info",
"ServiceType": "Console1",
"Body": "{ Message = This is not fare }",
"$type": "Request"
}
} and following is my logstash pipeline construct input {
beats {
port => 5044
type=>"file-beat"
}
tcp {
port => 5000
codec => json
type=>"console-event"
}
}
## Add your filters / logstash plugins configuration here
filter {
if [type] =="console-event" {
json {
source => "request"
tag_on_failure => [ "_jsonparsefailure" ]
id => "%{RequestId}"
add_tag=>["Request_%{RequestId}","Request_%{ServiceType}"]
}
}
}
##user => "elastic"
##password => "changeme"
output {
elasticsearch {
hosts => "elasticsearch:9200"
index=>"gateway-request-%{+YYYY.MM.dd}"
ecs_compatibility => disabled
}
} However I am getting the following exception pattern
I am clueless, regarding what I am doing wrong.. |
This error is coming, after
docker-compose up
PS: I'm operating this on virtual cloud machine 4GB droplet (digitalocean)
logstash/pipeline/logstash.conf:
logstash/config/logstash.yml:
docker-compose.yml:
Whats the issue ?
The text was updated successfully, but these errors were encountered: