UNPKG

@datadog/datadog-api-client

Version:
67 lines (66 loc) 2.1 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 { LogsAttributeRemapperType } from "./LogsAttributeRemapperType"; import { TargetFormatType } from "./TargetFormatType"; import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** * An attribute remapper sub-processor for use inside an array-map processor. * Unlike the top-level attribute remapper, `is_enabled`, `source_type`, and * `target_type` are not supported. */ export declare class LogsArrayMapAttributeRemapper { /** * Name of the sub-processor. */ "name"?: string; /** * Override the target element if already set. */ "overrideOnConflict"?: boolean; /** * Remove or preserve the remapped source element. */ "preserveSource"?: boolean; /** * Array of source attribute paths. */ "sources": Array<string>; /** * Target attribute path. */ "target": string; /** * If the `target_type` of the remapper is `attribute`, try to cast the value to a new specific type. * If the cast is not possible, the original type is kept. `string`, `integer`, or `double` are the possible types. * If the `target_type` is `tag`, this parameter may not be specified. */ "targetFormat"?: TargetFormatType; /** * Type of logs attribute remapper. */ "type": LogsAttributeRemapperType; /** * 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(); }