Skip to content

Commit ec82744

Browse files
authored
Merge pull request #190270 from guywi-ms/patch-2
Update based on GitHub issue #89048
2 parents e25f880 + 92ef513 commit ec82744

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

articles/azure-monitor/logs/log-analytics-tutorial.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,15 @@ A **where** statement is added to the query with the value that you selected. Th
6464

6565

6666
### Time range
67-
All tables in a Log Analytics workspace have a column called **TimeGenerated**, which is the time that the record was created. All queries have a time range that limits the results to records that have a **TimeGenerated** value within that range. You can set the time range in the query or by using the selector at the top of the screen.
6867

69-
By default, the query returns records from the last 24 hours. You should see a message here that says we're not seeing all of the results. This is because Log Analytics can return a maximum of 30,000 records, and our query returned more records than that. Select the **Time range** dropdown list, and change the value to **12 hours**. Select **Run** again to return the results.
68+
All queries return records generated within a set time range. By default, the query returns records generated in the last 24 hours.
69+
70+
You can set a different time range using the [where operator](/azure/data-explorer/kusto/query/tutorial?pivots=azuremonitor#filter-by-boolean-expression-where-1) in the query, or using the **Time range** dropdown list at the top of the screen.
71+
72+
Let’s change the time range of the query by selecting **Last 12 hours** from the **Time range** dropdown. Select **Run** to return the results.
73+
74+
> [!NOTE]
75+
> Changing the time range using the **Time range** dropdown does not change the query in the query editor.
7076
7177
:::image type="content" source="media/log-analytics-tutorial/query-results-max.png" alt-text="Screenshot that shows the time range." lightbox="media/log-analytics-tutorial/query-results-max.png":::
7278

0 commit comments

Comments
 (0)