# ElasticsearchException: Rollup job [my_rollup] cannot be started because the index pattern [logs-*] does not match any existing indexes

- **ID:** `elasticsearch/rollup-job-no-matching-indexes`
- **Domain:** elasticsearch
- **Category:** config_error
- **Verification:** ai_generated
- **Fix Rate:** 85%

## Root Cause

The rollup job's index pattern does not match any current indices, either because the indices have not been created yet or the pattern is incorrect.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 7.10.0 | active | — | — |
| 7.17.0 | active | — | — |
| 8.0.0 | active | — | — |

## Workarounds

1. **Update the rollup job's index pattern to match existing indices: `PUT _rollup/job/my_rollup/_update { "pattern": "logs-2025*" }` then start the job.** (90% success)
   ```
   Update the rollup job's index pattern to match existing indices: `PUT _rollup/job/my_rollup/_update { "pattern": "logs-2025*" }` then start the job.
   ```
2. **Create a dummy index matching the pattern to allow job start: `PUT logs-dummy` (then delete it after job starts if needed, but ensure real data exists).** (70% success)
   ```
   Create a dummy index matching the pattern to allow job start: `PUT logs-dummy` (then delete it after job starts if needed, but ensure real data exists).
   ```

## Dead Ends

- **** — The rollup job pattern remains unchanged; it will still not match the new indices. (95% fail)
- **** — The job will fail immediately because there are no indices to roll up. (98% fail)
