Create an Index Rule
1. Getting Started
In the Scanner UI:
Navigate to the Collect tab.
Click the '+' icon in the upper right and select 'Index Rule'
There are two primary ways to create a new Index Rule:
From a Collect Rule — This is the suggested option when indexing logs written to S3 by a Scanner Collect Rule. This will enable some fields to be pre-populated based on the Collect Rule configuration.
From AWS S3 — Index any logs already in S3 in one of the supported file formats.
Additionally, it is also possible to duplicate an existing rule if needed. This will pre-populate setup with all the values of the selected Index Rule.
2. Configuration
Specify the source type of the logs.
Give the Index Rule a recognizable name, such as
my-app-logs.Create or select a Scanner destination index — we suggest using a different index per log source. For more information, see index organization.
3. File Processing
Configure and preview how raw files are processed into log events by the Scanner indexing pipeline.
There are three main sections:
4. Review and Create
Review the Index Rule configuration, then create the Index Rule to complete the setup.
Besides the Index Rule, make sure you have already set up S3 notifications from the bucket. See AWS Infrastructure Setup for details.
With S3 notifications and the Index Rule set up, Scanner will receive notifications when new files land in the bucket, and will index matching files based on the rule's configuration, typically within 2–5 minutes.
Ingestion can be confirmed by querying the _usage index in the Search tab.
Last updated
Was this helpful?