UNPKG

@datadog/datadog-api-client

Version:

OpenAPI client for Datadog APIs

60 lines (59 loc) 1.8 kB
/** * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. * This product includes software developed at Datadog (https://www.datadoghq.com/). * Copyright 2020-Present Datadog, Inc. */ import { LogsGrokParserRules } from "./LogsGrokParserRules"; import { LogsGrokParserType } from "./LogsGrokParserType"; import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** * Create custom grok rules to parse the full message or [a specific attribute of your raw event](https://docs.datadoghq.com/logs/log_configuration/parsing/#advanced-settings). * For more information, see the [parsing section](https://docs.datadoghq.com/logs/log_configuration/parsing). */ export declare class LogsGrokParser { /** * Set of rules for the grok parser. */ "grok": LogsGrokParserRules; /** * Whether or not the processor is enabled. */ "isEnabled"?: boolean; /** * Name of the processor. */ "name"?: string; /** * List of sample logs to test this grok parser. */ "samples"?: Array<string>; /** * Name of the log attribute to parse. */ "source": string; /** * Type of logs grok parser. */ "type": LogsGrokParserType; /** * A container for additional, undeclared properties. * This is a holder for any undeclared properties as specified with * the 'additionalProperties' keyword in the OAS document. */ "additionalProperties"?: { [key: string]: any; }; /** * @ignore */ "_unparsed"?: boolean; /** * @ignore */ static readonly attributeTypeMap: AttributeTypeMap; /** * @ignore */ static getAttributeTypeMap(): AttributeTypeMap; constructor(); }