# LogFilter

**Kind**: interface | **Module**: [Insights](https://docs.interop.io/desktop/reference/javascript/insights/index.md)

**Source**: https://docs.interop.io/desktop/reference/javascript/insights/logfilter/index.html

Used to match and control publishing of log entries.

## Properties

- **`allowedAttributes`** (`string[]`, optional)
  If specified, any attributes missing from the list will be removed from
  the log entry before publishing it.
- **`bodyRegex`** (`string`, optional)
  Used to match the text of the log entry.
- **`categoryName`** (`string`, optional)
  Used to match the category of the log entry.
- **`enabled`** (`boolean`, optional) default: `true`
  If `false`, the log entry will not be published.
- **`hideRegex`** (`string`, optional)
  If specified, the log entry will have text matching this regex replaced with asterisks.
- **`severity`** (`"TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR" | "FATAL"`, optional)
  Used to match the severity of the log entry.
