Data Scrubbing :: Kloudfuse Docs

Data Scrubbing

The Scrubbing tool in Kloudfuse provides a powerful way to permanently delete MELT (Metrics, Events, Logs, and Traces) data based on specific filters. This feature helps you manage storage costs, comply with data retention policies, and remove sensitive or unwanted data from your observability platform.

Data deletion through the Scrubbing tool is permanent and cannot be undone. Always review your filters carefully before confirming a scrubbing job.
Scrubbing only works on the observability data that is ingested and sealed in a Pinot segment. Jobs may remain incomplete or have random status if realtime data is selected for scrubbing.
To identify which data can be scrubbed, please check the last sealed segments in pinot deepstore location.
Only data before the last segment timestamp can be scrubbed.

Overview

The Scrubbing feature allows you to:

Accessing the Scrubbing Tool

The Scrubbing tool is accessible from the Admin section:

  1. Navigate to the Admin section in the left sidebar
  2. Click on Scrubbing from the admin menu options
  3. The main dashboard displays all scrubbing jobs with their current status

Understanding the Scrubbing Jobs Dashboard

The Scrubbing Jobs dashboard provides a comprehensive view of all scrubbing operations:

Dashboard Columns

Column Description
Job Name User-defined identifier for the scrubbing job
Filters Label filters applied to the data (e.g., kube_service = "app_name")
Stream Type of data being scrubbed (Logs, APM, Metrics, or Events)
Status Current job status (Incomplete, Completed, or Cancelled)
Progress Visual progress bar and count of processed items
Time Range Date and time range of data being scrubbed
Created When the scrubbing job was initiated

Job Status Types

Creating a Scrubbing Job

To create a new scrubbing job:

  1. Click the Start scrubbing job button in the top-right corner
  2. The confirmation dialog opens with configuration options

Step 1: Select Stream Type

Choose the data stream to scrub:

Step 2: Select Time Range

Configure the time period for data deletion:

Step 3: Configure Label Filters

Label filters determine which data will be deleted. The interface shows:

Step 4: Preview Data

Before confirming the scrubbing job:

Logs Preview Section

Step 4: Review Table Data

The preview section includes a paginated table with navigation controls:

Step 5: Confirm Scrubbing

  1. Review all settings in the confirmation dialog
  2. Verify the log line count and data breakdown statistics
  3. Check the sample data in the preview table
  4. Click Confirm scrubbing (red button) to start the job
  5. Or click Cancel to abort without making changes

Monitoring Scrubbing Progress

The Scrubbing Jobs dashboard shows all jobs with detailed progress information:

Job Status Types

Progress Display

Each job in the dashboard shows:

Time Range Display

Jobs show their configured time ranges in the format: * "YYYY-MM-DD HH:MM:SS to YYYY-MM-DD HH:MM:SS" * Examples: "2025-09-15 15:57:28 to 2025-09-15 16:02:28" or "2025-08-26 00:00:00 to 2025-08-26 23:59:59"

Best Practices

Before Creating a Scrubbing Job

  1. Verify Filters: Double-check label filters to ensure correct data selection
  2. Review Time Range: Confirm the date range matches your intention
  3. Check Preview: Always review the preview data before confirming
  4. Document Purpose: Use descriptive job names for audit trails

Recommended Approaches

  1. Start Small: Test with narrow filters and short time ranges first
  2. Monitor Performance: Watch system impact during large scrubbing operations
  3. Schedule Wisely: Run large jobs during off-peak hours
  4. Keep Records: Document scrubbing operations for compliance

Safety Considerations

Common Use Cases

Compliance and Data Retention

Performance Optimization

Storage Management

Troubleshooting

Job Stays in Incomplete Status

No Data in Preview

Job Cancelled Unexpectedly

Limitations