[ https://issues.apache.org/jira/browse/RANGER-5171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17937163#comment-17937163 ]
Radhika Kundam commented on RANGER-5171: ---------------------------------------- Closing this as assets/report?objectClassType=1062&objectId=1 can be used for the same purpose of filtering audits by specific audit type and it's id as well. > Enable Filtering of Ranger Audit Logs by Specific Entity ID > ----------------------------------------------------------- > > Key: RANGER-5171 > URL: https://issues.apache.org/jira/browse/RANGER-5171 > Project: Ranger > Issue Type: Task > Components: Ranger > Reporter: Radhika Kundam > Assignee: Radhika Kundam > Priority: Major > > Support filtering audit logs by specific entity IDs for more precise tracking. > Currently, Ranger allows filtering logs by audit type (e.g., Dataset, > Datashare, Resource) but does not support filtering by a specific entity ID. > This makes it difficult to track changes related to a particular dataset or > datashare. > With the new architecture, logs should be filterable by: > * *audit_type* (e.g., ranger_dataset, ranger_datashare) > * *entity_id* (e.g., dataset_id=1, datashare_id=5) > Example query: > {code:java} > audit_type=ranger_dataset AND entity_id=1{code} > This should return all logs related to Dataset ID = 1. > *Note:* {{entity_id}} is a tentative name and may be updated during > development. -- This message was sent by Atlassian Jira (v8.20.10#820010)