Mask and Delete Sensitive Logs

Scalyr offers a number of mechanisms to redact and discard data at various points in the ingestion pipeline. Despite these mechanisms sensitive information can be inadvertently logged. There are two options to rectify this:

(1) Scalyr can implement a log masking rule which will exclude certain lines from any search results, based on a search filter. To do this, please send the following information to

  • A search filter which matches the lines containing the sensitive information. Please try to make this filter as narrow as possible, so as not to exclude lines unnecessarily.
  • A start timestamp and end timestamp. Be sure to include the time zone. We will filter out logs that fall within this range.

(2) Alternately, we can delete all logs that are older than a given point in time. Needless to say, this is a much more blunt solution, as it will make all logs before that point in time unavailable. To do this, please send a request to, specifying the timestamp, including time zone.

Either of these requests will be fulfilled within one business day, though typically they are handled much more quickly.