Complete the code to define an index pattern that matches all daily logs.
GET /[1]-*/_searchThe index pattern logs-* matches all indices starting with 'logs-' which is common for daily log indices.
Complete the code to search only indices for January 2024 using a date pattern.
GET /logs-2024-[1]-*/_search
The pattern logs-2024-01-* matches all indices for January 2024.
Fix the error in the index pattern to correctly match weekly indices starting with 'logs'.
GET /[1]-week-*/_searchThe correct prefix is 'logs' to match indices like 'logs-week-01'.
Fill both blanks to create an index pattern that matches monthly indices for 2023 and 2024.
GET /logs-[1]-[2]-*/_search
Using wildcards * for both year and month matches all monthly indices for any year and month.
Fill all three blanks to create an index pattern that matches daily logs for January 2024 only.
GET /logs-[1]-[2]-[3]/_search
The pattern logs-2024-01-* matches all daily logs for January 2024.