UNPKG

@datadog/datadog-api-client

Version:

OpenAPI client for Datadog APIs

63 lines (62 loc) 1.94 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 { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** * JSON object containing all log attributes and their associated values. */ export declare class LogContent { /** * JSON object of attributes from your log. */ "attributes"?: { [key: string]: any; }; /** * Name of the machine from where the logs are being sent. */ "host"?: string; /** * The message [reserved attribute](https://docs.datadoghq.com/logs/log_collection/#reserved-attributes) * of your log. By default, Datadog ingests the value of the message attribute as the body of the log entry. * That value is then highlighted and displayed in the Logstream, where it is indexed for full text search. */ "message"?: string; /** * The name of the application or service generating the log events. * It is used to switch from Logs to APM, so make sure you define the same * value when you use both products. */ "service"?: string; /** * Array of tags associated with your log. */ "tags"?: Array<string>; /** * Timestamp of your log. */ "timestamp"?: Date; /** * 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(); }