Skip to main content
Signals are not automatically deleted by default, and over time they occupy an increasing amount of storage space. To avoid running out of storage space as a result of your growing collection of signals, you must decide on a signals retention policy, then configure and schedule a REST Call job that regularly deletes old signals. The duration for which signals should be kept depends on your use case and your organization’s policies. For example, in some cases signals could be deleted after 30 days, while in other cases they may remain useful for a year, or even forever.

Learn more

  1. Navigate to Collections > Jobs.
  2. Click Add and select REST Call.
    The REST Call job configuration panel appears.
  3. Enter an arbitrary ID for this job, such as “Delete-old-signals”.
  4. Enter the following endpoint URI, substituting the name of your signals collection for signalsCollectionName:
    solr://signalsCollectionName/update
    
  5. In the Call Method field, select “post”.
  6. Under Query Parameters, enter the property name “wt” with the property value “json”.
  7. In the Request entity (as string) field, enter the following:
    <root><delete><query>timestamp_tdt:[* TO NOW-2WEEKS]</query></delete><commit /></root>
    
    See Working with Dates for details about date formatting. Your job configuration should look similar to this: Signals delete job configuration
You can configure a schedule for this job at System > Scheduler.