API Reference@grafana/data › calculateFieldStats

calculateFieldStats() function

calculateFieldStats() function

Signature

export declare function calculateFieldStats(rows: LogRowModel[], extractor: RegExp): LogLabelStatsModel[];

Import

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

Parameters

Parameter Type Description
rows LogRowModel[]
extractor RegExp

Returns:

LogLabelStatsModel[]