diff --git a/docs/sources/features/panels/logs.md b/docs/sources/features/panels/logs.md index 630add555fc..af7cdbd21d1 100644 --- a/docs/sources/features/panels/logs.md +++ b/docs/sources/features/panels/logs.md @@ -26,12 +26,7 @@ Note that you can scroll inside the panel in case the datasource returns more li ### Query Options -Some datasources (e.g., Loki) allow the use of **Live** tailing to show a steady stream of log messages. -When the panel is in **Live** mode, results are directly streamed from the datasource and the dashboard's time range is ignored. -Note that the streaming can put extra effort on the datasource and your browser. -Usually, the dashboard-wide refresh should be enough to get a recent set of log lines. - -To limit the number of lines rendered, you can use the query-wide **Max data points** setting. If it is not set, the datasource will usually enforce a limit. +To limit the number of lines rendered, you can use the queries-wide **Max data points** setting. If it is not set, the datasource will usually enforce a limit. ## Visualization Options diff --git a/public/app/plugins/datasource/loki/components/LokiQueryEditor.tsx b/public/app/plugins/datasource/loki/components/LokiQueryEditor.tsx index 72eb0faae90..538136e4b6c 100644 --- a/public/app/plugins/datasource/loki/components/LokiQueryEditor.tsx +++ b/public/app/plugins/datasource/loki/components/LokiQueryEditor.tsx @@ -3,7 +3,7 @@ import React, { memo } from 'react'; // Types import { AbsoluteTimeRange } from '@grafana/data'; -import { QueryEditorProps, Switch, DataSourceStatus } from '@grafana/ui'; +import { QueryEditorProps, DataSourceStatus } from '@grafana/ui'; import { LokiDatasource } from '../datasource'; import { LokiQuery } from '../types'; import { LokiQueryField } from './LokiQueryField'; @@ -51,14 +51,6 @@ export const LokiQueryEditor = memo(function LokiQueryEditor(props: Props) { absoluteRange={absolute} {...syntaxProps} /> -
-
- onChange({ ...query, live: !query.live })} /> -
-
-
-
-
); });