-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customizing Log Entries Display in the Admin Panel #422
Comments
Hi @SathishPR18 , By default there is no such feature currently available. With Regards, |
Hi @SathishPR18 , Update the LogEntryAdmin class in the virtual environment:
Please try this out and let us know if you face any issues. With Regards, |
Hi @horilla-opensource , First of all, thank you for your response. However, we are currently facing an issue related to deleting log entries. We have around 800,000 (8 lakh) records in the log entry table. When we try to select all the records and delete them at once, the process doesn’t work as expected. Instead, the result shown is the same as the picture below. Could you please look into this issue and suggest a solution? |
Hi @SathishPR18 , Thank you for reaching out and providing detailed information about the issue you're facing. Based on your description and the large number of records in the **Root Cause: ** Proposed Solutions
Restart your server after making the change.
python manage.py shell
If deleting all records at once still causes issues, process the records in smaller batches:
This approach reduces the memory load and avoids exceeding request limits. Please try these solutions, starting with the bulk deletion script or paginated deletion method. If you continue to face issues, feel free to share more details, and we’ll be happy to assist further. With Regards, |
Hi @horilla-opensource Now I am worried about the volume of data that will grow exponentially in next couple of months. Is there any option for us not capture the log entries for specific fields. This will be of great help to us in managing the log data |
Hi @SathishPR18, To exclude specific fields or models from audit logging in Horilla, you can follow these steps:
Make sure to define these variables in your Let me know if you need any further assistance! With Regards, |
On the admin page, the Log Entries section currently displays all the data recorded so far, including every action or change logged in the system. However, I would like to know if there’s a way to customize or filter this data to display only specific records based on certain criteria. For instance, instead of showing all the entries, I’m only interested in viewing the details from the previous month. Is there an option or feature in the admin panel to apply such filters or customize the data display to meet this requirement?
Additionally, instead of deleting data one by one, is there an option to delete a group of data all at once? If such an option exists, where can it be found, and is it possible to perform this action in the admin panel?
Priority
[High.]
The text was updated successfully, but these errors were encountered: