- BasicAuthUsername and BasicAuthPassword no longer exists as parameters and now needs to be configured through an authentication method.
- DocumentIdSource no longer exists as a parameter and now needs to be configured through IndexOperationParams
- Stopped support of .net 4.0
BasicAuthUsername and BasicAuthPassword moved under AuthenticationMethod.
Old configuration:
<BasicAuthUsername>username</BasicAuthUsername>
<BasicAuthPassword>password</BasicAuthPassword>
Moved into AuthenticationMethod
<AuthenticationMethod>
<!--For basic authentication purposes-->
<Basic>
<Username>Username</Username>
<Password>Password</Password>
</Basic>
<!--For AWS ElasticSearch service-->
<Aws>
<Aws4SignerSecretKey>Secret</Aws4SignerSecretKey>
<Aws4SignerAccessKey>AccessKey</Aws4SignerAccessKey>
<Aws4SignerRegion>Region</Aws4SignerRegion>
</Aws>
</AuthenticationMethod>
The namespace has been changed from log4net.ElasticSearch to log4stash So you need to change the type attribute in the config file:
Old configuration:
<appender name="ElasticSearchAppender" type="log4net.ElasticSearch.ElasticSearchAppender, log4stash">
<!-- ... -->
</appender>
New:
<appender name="ElasticSearchAppender" type="log4stash.ElasticSearchAppender, log4stash">
<!-- ... -->
</appender>
The definition of IElasticAppenderFilter has been changed, PrepareEvent has only one parameter and PrepareConfiguration's parameter type has changed to IElasticsearchClient.