# EventLogFilter

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.EventLogFilter/

Event Log Filter record. This is not labeled "rpc_payload" because IRPCEventsAdmin uses alias.

- **Full name:** `MFiles.EventLogFilter`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-id"></a>`id` | `int64` | 1 | ID of the Event Log Filter record. |
| <a id="f-name"></a>`name` | `string` | 2 | Name of the Event Log Filter record. |
| <a id="f-created_by_user_account"></a>`created_by_user_account` | `int32` | 3 | The account ID of the user who created the record |
| <a id="f-condition"></a>`condition` | [`EventLogFilterCondition`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.EventLogFilterCondition/index.md) | 4 | Information about the search conditions. |
| <a id="f-default_filter_view"></a>`default_filter_view` | `bool` | 5 | Tells if the Event Log Filter record was set as Default Filter View. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCEventsAdmin.SaveEventLogFilter](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCEventsAdmin/SaveEventLogFilter/index.md): Saves a named event log filter for the calling user.

<a id="used-in-fields"></a>

## Used in fields

- [`EventLogFilterArray.event_log_filter_items`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.EventLogFilterArray/index.md#f-event_log_filter_items): Event Log Filter items.
- [`SaveEventLogFilterRequest.event_log_filter`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCEventsAdmin/SaveEventLogFilter/index.md#request): The filter to save: `name`, `condition` and `default_filter_view`. See [EventLogFilter](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.EventLogFilter/index.md).
