Creating a partition allows you to improve search performance by searching over a smaller number of messages. After routing messages to a partition, you can limit your search by using the partition name in a search query.
Partitions ingest your messages in real time. Partitions differ from scheduled views in that partitions don’t backfill with aggregate data. They begin building a non-aggregate index from the time the partition is created and index only the data moving forward. Scheduled views backfill with aggregate data, meaning that all data that extends back to the start date of the view query is added to the view.
To define partitions use simple search expressions, also called routing expressions. The routing expression is applied to all incoming messages as they enter the system. If the filter matches the message, it’s added to the partition.
- To create a partition you must be an Admin or you must have the Manage Indexes Role Capability.
- There is a limit of 50 partitions per account.
- Once they are created, partitions cannot be edited or deleted, and partition names cannot be reused. This is due to the fact that a partition may include log messages that are not stored anywhere else, and if the partition is deleted, the log messages will be lost. But if it is no longer needed, a partition may be decommissioned.