import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * This data source provides details about a specific Log resource in Oracle Cloud Infrastructure Apm Traces service.
 *
 * Retrieve a log in the APM Domain.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testLog = oci.apmtraces.getLog({
 *     apmDomainId: testApmDomain.id,
 *     logKey: logLogKey,
 *     timeLogEndedLessThan: logTimeLogEndedLessThan,
 *     timeLogStartedGreaterThanOrEqualTo: logTimeLogStartedGreaterThanOrEqualTo,
 * });
 * ```
 */
export declare function getLog(args: GetLogArgs, opts?: pulumi.InvokeOptions): Promise<GetLogResult>;
/**
 * A collection of arguments for invoking getLog.
 */
export interface GetLogArgs {
    /**
     * The APM Domain ID for the intended request.
     */
    apmDomainId: string;
    /**
     * Log key.
     */
    logKey: string;
    /**
     * Include logs with log time less than this value.
     */
    timeLogEndedLessThan: string;
    /**
     * Include logs with log time equal to or greater than this value.
     */
    timeLogStartedGreaterThanOrEqualTo: string;
}
/**
 * A collection of values returned by getLog.
 */
export interface GetLogResult {
    readonly apmDomainId: string;
    /**
     * Metadata about the attributes in the logs.
     */
    readonly attributeMetadata: {
        [key: string]: string;
    };
    /**
     * List of attributes associated with the logs.
     */
    readonly attributes: outputs.ApmTraces.GetLogAttribute[];
    /**
     * Log body (Body).
     */
    readonly body: string;
    /**
     * Name of the event.
     */
    readonly eventName: string;
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    /**
     * Unique identifier (logId) for the logKey.  Note that this field is defined as logKey in the API and it maps to the logId in Application Performance Monitoring.
     */
    readonly logKey: string;
    /**
     * Full values for attributes that are too long to be stored as a log attribute (Overflow).
     */
    readonly overflowAttributes: string;
    /**
     * Log Severity number (SeverityNumber).
     */
    readonly severityNumber: number;
    /**
     * Log Severity text (SeverityText).  Also known as Log level.
     */
    readonly severityText: string;
    /**
     * Unique identifier for the span (spanId) associated with this log.
     */
    readonly spanKey: string;
    /**
     * Time that the log event occurred (CreatedTime).
     */
    readonly timeCreated: string;
    readonly timeLogEndedLessThan: string;
    readonly timeLogStartedGreaterThanOrEqualTo: string;
    /**
     * Time that the log was received by apm (ObservedTime).
     */
    readonly timeObserved: string;
    /**
     * Time used by the time picker (RecordedTime).  Either the timeCreated if present or the timeObserved.
     */
    readonly timestamp: string;
    /**
     * Trace flags.
     */
    readonly traceFlags: number;
    /**
     * Unique identifier for the trace (traceId) associated with this log.
     */
    readonly traceKey: string;
}
/**
 * This data source provides details about a specific Log resource in Oracle Cloud Infrastructure Apm Traces service.
 *
 * Retrieve a log in the APM Domain.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testLog = oci.apmtraces.getLog({
 *     apmDomainId: testApmDomain.id,
 *     logKey: logLogKey,
 *     timeLogEndedLessThan: logTimeLogEndedLessThan,
 *     timeLogStartedGreaterThanOrEqualTo: logTimeLogStartedGreaterThanOrEqualTo,
 * });
 * ```
 */
export declare function getLogOutput(args: GetLogOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLogResult>;
/**
 * A collection of arguments for invoking getLog.
 */
export interface GetLogOutputArgs {
    /**
     * The APM Domain ID for the intended request.
     */
    apmDomainId: pulumi.Input<string>;
    /**
     * Log key.
     */
    logKey: pulumi.Input<string>;
    /**
     * Include logs with log time less than this value.
     */
    timeLogEndedLessThan: pulumi.Input<string>;
    /**
     * Include logs with log time equal to or greater than this value.
     */
    timeLogStartedGreaterThanOrEqualTo: pulumi.Input<string>;
}
//# sourceMappingURL=getLog.d.ts.map