Open JulianCeaser opened 5 years ago
Did you find a solution to this ?
I am having the same issue.
Still trying to find a solution. If I do find something useful then I will post that on here too
The solution I got is to add these to your jvm.options file in your /etc/logstash/ path
-Dhttp.proxyyHost=x.x.x.x -Dhttp.proxyPort=xxxx
x.x.x.x - IP address of your proxy server xxxx - your proxy server port eg 3128
This works if you are using a proxy server.
I'm having the same issue. But not sure how the poxy setting are related as I'm not using a proxy. The error talks about a broken or a non exiting lease:
@description: "There is currently no lease on the blob.\nRequestId:b2818fb2-e01e-013a-42ac-24e112000000\nTime:2020-05-07T20:19:48.2441783Z", @type: "LeaseNotPresentWithLeaseOperation">}
Here is my configuration:
`storage_account_name => ""
storage_access_key => ""
container => "insights-logs-applicationgatewayaccesslog"
registry_create_policy => "start_over"
registry_path => "data/reg12344"
tags => [ "azureblobreq" ]`
is registry_lease_duration => -1
the answer for this issue?
EDIT: adding registry_lease_duration => -1
didn't help
Hi Dudubis, This issue may be due to writing on the registry file 'data/reg12344', Do you make sure there is only this logstash writes on this blob at one time? "registry_lease_duration => -1" this option helps to wait until the writing to registry file is done then will break the lease. So if it doen't help, I think there should be something to break the lease
Logstash is showing the following error when I am using the logstash-input-azureblob plugin
My azureblob input plugin is like this
I have attempted using both registry_lease_duration => -1 and 60 but it does not seem to help in either case. Please help me understand what the problem and solution is.