This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/datagetParser

getParser() function

getParser() function

Signature

export declare function getParser(line: string): LogsParser | undefined;

Import

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

Parameters

Parameter Type Description
line string

Returns:

LogsParser | undefined