Releases: bruno-garcia/log4net.ElasticSearch
2.6.0-preview2
- Fixed issue where passwords with characters like ? would not work.
- Added ability to change the index name date formation via configuration.
Thanks @tylerrbrown for #117
2.6.0-preview
- No longer suppressing exceptions in
Repository.Add
. Resolved #111
Note that a few structural changes to the project that should no affect the resulting artifact were made. For that reason (and also the change above) a first preview is out.
Bulk API Http Response Correction
Bulk API Change
Per this StackOverlow answer, it's probably a better idea to use index
for _bulk API calls than create
. Create is for strict creation and may fail if the doc already exists. index
is more of an upsert and ES will decide if the document should be created or updated. It's a better guarantee the call will succeed.
Bulk API Support
This release adds support (finally) for the Elasticsearch _bulk API. When setting the BufferSize in the appender setup, if you specifiy a BufferSize > 1, the appender will automatically use the bulk API when flushing the buffer instead of individual index/create calls. This will result in much fewer calls to Elasticsearch and a more efficient setup for your application. See updated documentation accordingly.
Port is now optional
- Made the port optional in the logconfig settings since it may not be needed when using dns. @aateeque
- Updated Elasticsearch libs for tests
Bug fixes
- Fixed serialization exceptions. Todd Tingen
- Updated example ES mapping spec
Https support, rolling index fixes
- Fixed rolling indexes when app domains are not unloaded frequently or in high concurrent applications @jc74
- Added https (scheme) and http basic auth support @mickdelaney
1.2.0
Potentially breaking changes in this release
- Dropped all dependencies on support libraries like NEST and JSON.Net. These were initially helpful but they are overkill for what is needed for the lib.
- Changed the TimeStamp field to use UTC time format to make it friendlier to use.
- Modified the rolling index name format to use YYYY.MM.DD instead of YYYY-MM-DD to be more logstash-ey
- Added "@timestamp" field to the Properties array with UTC format
Thanks to @kjersti for the date field suggestions!
Nuget package has been updated appropriately.
0.10.0
Changed to Dynamic instead of LogEvent compliments of Tomas Jansson. Thanks!