Backfills
You can backfill historical data using an existing Index Rule.
Permissions
Creating a backfill requires the Backfill any Index Rule permission, found in the Collect group of role settings.
Start a Backfill
In the Scanner UI:
Navigate to the Collect tab.
Click the '+' icon in the upper right and select 'Backfill historical data'.
You can also start a backfill from an Index Rule's "more" menu.
Each backfill has two phases:
Backfill scan — Lists the files that match and estimates their total size. Nothing is indexed yet.
Backfill run — Ingests the files found by a completed scan.
To create a backfill:
Select Index Rule — Choose the Index Rule to backfill.
Filters — (Optional) Enter a pattern to narrow which files are backfilled. Leave it empty to backfill every file the Index Rule matches. Use the file browser to see which files will be backfilled. See Backfill Pattern Syntax below.
Scan Bucket — Review the filters and the Index Rule, then click Begin scan. You can review the Files and Est. size on the Jobs page as the scan progresses.
Review the Scan — When the scan completes, open it on the Jobs page. You can review the Files and Est. size.
Run the Backfill — Click Run backfill on the completed scan and type the confirmation text to start it. Progress appears on the Jobs page.
Note: It may take time for logs to appear in your index after backfill run reaches Ingest enqueued, especially for large backfills.
Backfill Pattern Syntax
You can append a pattern to your Index Rule's prefix to narrow which files will be backfilled.
Examples
These examples use an Index Rule with key prefix logs/ and keys like logs/us-east-1/2026/08/01/file.json.gz.
(empty)
Every file the Index Rule matches
us-east-1/202
us-east-1, 2020 through 2029
us-east-1/2026
us-east-1, all of 2026
us-*/2026
All us- regions, all of 2026
*/2026/08/*/*.json.gz
All regions, August 2026, .json.gz files
Notes
*can be used as a wildcard, and can match a part of a path segment or a whole path segment.Use
\to escape characters.**,?,[,],{,}are reserved./can't be escaped.
Related
Last updated
Was this helpful?