Comments (8)
It seems like a server problem, did you check the elastic logs?
Can you debug your app? Another suggestion is that you can load log4stash code and examine the exception while it occurs..
from log4stash.
This is Elastic Cloud, so I can't see any server logs, and the app debugging doesn't show anything more than that generic error. I'd be surprised if it's on the server side, as the other apps we have that use NLog seem to be working fine.
from log4stash.
What is the Elastic version that you use?
from log4stash.
from log4stash.
Any update on this issue? Also, elastic cloud uses an SSL endpoint (https://myinstanceid.eu-west-1.aws.found.io:). How is that configured?
from log4stash.
Hi @HarveyEV , @Cylindric
I tried to log into elastic cloud by myself and found it roughly working.
There are errors in the check response function but the data is getting saved into the Elastic server.
Make sure you are using these configuration properties as described:
<appender name="ElasticSearchAppender" type="log4stash.ElasticSearchAppender, log4stash">
<Ssl>True</Ssl>
<Servers>
<Server>
<Address>yourClientId.server.aws.found.io</Address>
<Port>port_number</Port>
</Server>
</Servers>
<AuthenticationMethod>
<Basic>
<Username>Username</Username>
<Password>Password</Password>
</Basic>
</AuthenticationMethod>
<!-- Other configurations -->
<!-- ...... -->
</appender>
I will investigate the response errors and hope to release an update soon.
Please update if you succeeded with the new configuration.
Uriel
from log4stash.
Good news!
Only the put template operation is throwing an error.
Until I will update the template operation I recommend you to put it by yourself and comment out it's part from the configuration.
Edit:
If this still throwing errors, please add this into the configuration:
<IndexAsync>True</IndexAsync>
from log4stash.
Hi,
please try log4stash's new version: https://www.nuget.org/packages/log4stash/2.1.0
Note:
I upgraded the log4net version to 2.0.8.
If you still want to use the old 2.0.5 log4net just install this version of log4stash instead of the version above:
https://www.nuget.org/packages/log4stash/2.1.0-vip205
from log4stash.
Related Issues (20)
- Aliases for Index
- Using the template returns not data HOT 1
- Custom log4net values get submitted as { "Count": 1 } HOT 2
- Does not work with log4net 2.0.8 or higher HOT 5
- Unable to push logs to https elasticsearch from aspnet core HOT 3
- ConvertToArrayFilter: System.ArgumentNullException: Value cannot be null HOT 10
- Not clear what these properties do HOT 1
- log4stash v3.0.0 doesn't work with ElasticSearch 6.x HOT 1
- Log4Stash logging metadata info by itself HOT 2
- AWS Signature failure - Incorrect HOST header? HOT 1
- log4stash does not have Http compression for ES?
- Target Elasticsearch index is incorrect HOT 3
- Authentication configuration does not feel compatible with "log4net >= 2.0.8" HOT 2
- log4stach elastic search appender memory leak HOT 4
- Allowing self signed certs does not work (AllowSelfSignedServerCert) HOT 1
- Unobserved task exception in ASP.NET Web API project when using IndexAsync and BulkSize is reached during request
- In PrepareBulk: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
- Can't set authentication method v3.0.4 HOT 4
- IndexOperationParams from example is not working HOT 1
- How to use it on .Net 6? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from log4stash.