You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.5 KiB
1.5 KiB
LINGYUN.Abp.AuditLogging.Elasticsearch
简体中文 | English
Elasticsearch implementation for the audit logging module.
Features
- ElasticsearchAuditLogManager - Implements IAuditLogManager, managing audit logs with Elasticsearch
- ElasticsearchSecurityLogManager - Implements ISecurityLogManager, managing security logs with Elasticsearch
Module Dependencies
[DependsOn(typeof(AbpAuditLoggingElasticsearchModule))]
public class YouProjectModule : AbpModule
{
// other
}
Configuration Options
- AbpAuditLoggingElasticsearchOptions.IndexPrefix - Index prefix, default is 'auditlogging'
- AbpAuditLoggingElasticsearchOptions.IndexSettings - Elasticsearch index settings
Multi-tenancy Support
When integrated with the tenant module, the index will switch based on the tenant:
- For tenant-specific data:
{prefix}-{index}-{tenantId} - For host data:
{prefix}-{index}
appsettings.json
{
"AuditLogging": {
"Elasticsearch": {
"IndexPrefix": "auditlogging"
}
}
}
Features
-
Audit Log Management
- Store and retrieve audit logs in Elasticsearch
- Support for entity change tracking
- Flexible querying with various filters
- Support for extra properties
-
Security Log Management
- Store and retrieve security logs in Elasticsearch
- Support for security-related events tracking
- Comprehensive querying capabilities
-
Index Management
- Automatic index initialization
- Support for custom index settings
- Multi-tenant index isolation