LogRows variable
LogRows variable
Signature
LogRows: React.FunctionComponent<{
timeZone: TimeZone;
wrapLogMessage: boolean;
onClickFilterLabel?: ((key: string, value: string) => void) | undefined;
onClickFilterOutLabel?: ((key: string, value: string) => void) | undefined;
showDetectedFields?: string[] | undefined;
onClickShowDetectedField?: ((key: string) => void) | undefined;
onClickHideDetectedField?: ((key: string) => void) | undefined;
getRowContext?: ((row: LogRowModel, options?: RowContextOptions | undefined) => Promise<any>) | undefined;
logsSortOrder?: LogsSortOrder | null | undefined;
prettifyLogMessage: boolean;
showContextToggle?: ((row?: LogRowModel | undefined) => boolean) | undefined;
getFieldLinks?: ((field: Field, rowIndex: number) => Array<LinkModel<Field>>) | undefined;
forceEscape?: boolean | undefined;
enableLogDetails: boolean;
showTime: boolean;
showLabels: boolean;
onLogRowHover?: ((row?: LogRowModel | undefined) => void) | undefined;
logRows?: LogRowModel[] | undefined;
deduplicatedRows?: LogRowModel[] | undefined;
dedupStrategy: LogsDedupStrategy;
previewLimit?: number | undefined;
}>
Import
import { LogRows } from '@grafana/ui';