/** * 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 { CustomDestinationForwardDestinationSplunkType } from "./CustomDestinationForwardDestinationSplunkType"; import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** * The Splunk HTTP Event Collector (HEC) destination. */ export declare class CustomDestinationForwardDestinationSplunk { /** * Access token of the Splunk HTTP Event Collector. This field is not returned by the API. */ "accessToken": string; /** * The destination for which logs will be forwarded to. * Must have HTTPS scheme and forwarding back to Datadog is not allowed. */ "endpoint": string; /** * The Splunk sourcetype for the events sent to this Splunk destination. * * If the field is absent from the request and no sourcetype has been previously set on this destination, the default sourcetype `_json` is used. * On update, if the field is absent from the request but a sourcetype was previously set, the previous value is kept. * If set to `null`, the sourcetype field is omitted from the forwarded event entirely. * Otherwise, the provided string value is used as the sourcetype. */ "sourcetype"?: string; /** * Type of the Splunk HTTP Event Collector (HEC) destination. */ "type": CustomDestinationForwardDestinationSplunkType; /** * 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(); }