API Reference@grafana/data › calculateLogsLabelStats

calculateLogsLabelStats() function

calculateLogsLabelStats() function

Signature

export declare function calculateLogsLabelStats(rows: LogRowModel[], label: string): LogLabelStatsModel[];

Import

import { calculateLogsLabelStats } from '@grafana/data';

Parameters

Parameter Type Description
rows LogRowModel[]
label string

Returns:

LogLabelStatsModel[]