Bulk Clear All Conversation Logs #16483

Closed
opened 2026-02-21 19:26:17 -05:00 by yindo · 3 comments
Owner

Originally created by @connermo on GitHub (Aug 27, 2025).

Originally assigned to: @connermo on GitHub.

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

Current Issue:

Dify currently lacks a "Clear All Logs" functionality for conversation management. Users must manually delete conversations one by one, which is time-consuming and inefficient for bulk operations.

Use Cases & Benefits:

  1. Development & Testing: Developers need to quickly clear test conversations during app development cycles
  2. Privacy & Compliance: Organizations require efficient data cleanup to meet privacy regulations (GDPR, etc.)
  3. Production Maintenance: Administrators need bulk cleanup capabilities for production environments
  4. Storage Management: Reduce storage costs by easily removing unnecessary conversation history

Security & Privacy Concerns:

  1. Data Exposure: All historical conversations remain visible to users, potentially exposing sensitive information
  2. Compliance Risk: Manual deletion is error-prone and doesn't guarantee complete data removal
  3. Access Control: No efficient way to ensure complete conversation data cleanup when user access changes

Proposed Solution:

Add a "Clear All Logs" feature with:

  1. Bulk deletion of all conversations and related data
  2. Confirmation dialog to prevent accidental deletion
  3. Complete cleanup including uploaded files and attachments
  4. Audit logging for compliance tracking

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @connermo on GitHub (Aug 27, 2025). Originally assigned to: @connermo on GitHub. ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. ### Current Issue: Dify currently lacks a "Clear All Logs" functionality for conversation management. Users must manually delete conversations one by one, which is time-consuming and inefficient for bulk operations. ### Use Cases & Benefits: 1. **Development & Testing:** Developers need to quickly clear test conversations during app development cycles 2. **Privacy & Compliance:** Organizations require efficient data cleanup to meet privacy regulations (GDPR, etc.) 3. **Production Maintenance:** Administrators need bulk cleanup capabilities for production environments 4. **Storage Management:** Reduce storage costs by easily removing unnecessary conversation history ### Security & Privacy Concerns: 1. **Data Exposure:** All historical conversations remain visible to users, potentially exposing sensitive information 2. **Compliance Risk:** Manual deletion is error-prone and doesn't guarantee complete data removal 3. **Access Control:** No efficient way to ensure complete conversation data cleanup when user access changes ### Proposed Solution: **Add a "Clear All Logs" feature with:** 1. Bulk deletion of all conversations and related data 2. Confirmation dialog to prevent accidental deletion 3. Complete cleanup including uploaded files and attachments 4. Audit logging for compliance tracking ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [x] I am interested in contributing to this feature.
yindo added the 💪 enhancement label 2026-02-21 19:26:17 -05:00
yindo closed this issue 2026-02-21 19:26:17 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Sep 27, 2025):

Hi, @connermo. I'm Dosu, and I'm helping the Dify team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You requested a "Clear All Logs" feature to bulk delete conversation logs, files, and attachments.
  • The feature would include confirmation prompts and audit logging for privacy and storage management.
  • This aims to help developers and organizations quickly clean data for compliance and efficiency.
  • No further activity or comments have been made on this request since it was opened.

Next Steps:

  • Please let me know if this feature is still relevant to the latest version of Dify by commenting on this issue.
  • If I don’t hear back within 15 days, the issue will be automatically closed.

Thanks for your understanding and contribution!

@dosubot[bot] commented on GitHub (Sep 27, 2025): Hi, @connermo. I'm [Dosu](https://dosu.dev), and I'm helping the Dify team manage their backlog and am marking this issue as stale. **Issue Summary:** - You requested a "Clear All Logs" feature to bulk delete conversation logs, files, and attachments. - The feature would include confirmation prompts and audit logging for privacy and storage management. - This aims to help developers and organizations quickly clean data for compliance and efficiency. - No further activity or comments have been made on this request since it was opened. **Next Steps:** - Please let me know if this feature is still relevant to the latest version of Dify by commenting on this issue. - If I don’t hear back within 15 days, the issue will be automatically closed. Thanks for your understanding and contribution!
Author
Owner

@connermo commented on GitHub (Sep 28, 2025):

The PR's been submitted and is waiting for review. Please hold.

@connermo commented on GitHub (Sep 28, 2025): The PR's been submitted and is waiting for review. Please hold.
Author
Owner

@dosubot[bot] commented on GitHub (Sep 28, 2025):

@crazywoola The user has submitted a PR for the "Clear All Logs" feature and is waiting for review. Could you please take a look and assist with the next steps?

@dosubot[bot] commented on GitHub (Sep 28, 2025): @crazywoola The user has submitted a PR for the "Clear All Logs" feature and is waiting for review. Could you please take a look and assist with the next steps?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#16483