Oracle Log Analytics API

The logAnalytics API from Oracle — 169 operation(s) for loganalytics.

Documentation

📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/access-governance-cp/20220518/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/adm/20220421/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/advisor/20200606/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/ai-data-platform/20240831/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/analytics/20190331/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/announcements/0.0.1/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/api-gateway/20190501/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/apm-config/20210201/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/apm-control-plane/20200630/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/apm-synthetic-monitoring/20200630/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/apm-trace-explorer/20200630/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/audit/20190901/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/autoscaling/20181001/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/bastion/20210331/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/batch/20251031/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/bigdata/20190531/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/blockchain/20191010/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/budgets/20190111/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/certificates/20210224/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/certificatesmgmt/20210224/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/cloud-guard/20200131/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/clusterplacementgroups/20230801/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/compute-cloud-at-customer/20221208/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/container-instances/20210415/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/container-registry/20180419/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/containerengine/20180222/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/cost-anomaly/20190111/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/dashboard/20210731/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/data-catalog/20190325/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/data-flow/20200129/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/data-integration/20200430/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/data-safe/20181201/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/data-science/20190101/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/database-management/20201101/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/database-migration/20230518/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/database-multicloud-integrations/20240501/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/database-tools/20201005/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/database-tools-runtime/20230222/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/datacc/20251101/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/datalabeling-dp/20211001/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/datalabeling/20211001/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/delegate-access-control/20230801/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/devops/20210630/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/digital-assistant/20190506/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/disaster-recovery/20220125/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/dms/20211101/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/dns/20180115/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/document-understanding/20221109/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/edsfu/20220528/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/emaildelivery/20170907/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/emaildeliverysubmission/20220926/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/events/20181201/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/filestorage/20171215/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/fleet-management/20250228/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/functions/20181201/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/functionsdocgenpbf/1.0/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/fusion-applications/20211201/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/generative-ai-agents-client/20240531/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/generative-ai-agents/20240531/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/generative-ai-inference/20231130/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/generative-ai-nl2sql/20260325/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/generative-ai/20231130/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/generic/20160918/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/globally-distributed-database/20250101/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/goldengate/20200407/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/healthchecks/20180501/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/iaas/20160918/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/identity-domains/v1/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/identity-dp/v1/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/identity/20160918/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/incidentmanagement/20181231/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/instanceagent/20180530/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/integration/20190131/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/iot/20250531/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/itas/v1/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/jms/20210610/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/jms-utils/20250521/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/kafka/20240901/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/key/release/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/language/20221001/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/licensemanager/20220430/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/limits-increase/20251101/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/limits/20181025/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/loadbalancer/20170115/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/logan-api-spec/20200601/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/logging-dataplane/20200831/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/logging-management/20200531/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/logging-search/20190909/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/lustre/20250228/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/managed-access/20220126/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/management-agent/20200202/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/managementdashboard/20200901/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/marketplace/20181001/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/mngdmac/20250320/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/monitoring/20180401/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/multicloud-omhub-cp/20180828/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/mysql/20190415/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/NetMonitor/20160918/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/network-firewall/20211001/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/network-firewall/20230501/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/networkloadbalancer/20200501/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/nosql-database/20190828/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/notification/20181201/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/objectstorage/20160918/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/OCB/20220509/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/occ/20230515/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/occds/20240430/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/occm/20231107/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/ocicache/20220315/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/ocm/20220919/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/opa/20210621/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/opensearch/20180828/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/operations-insights/20200630/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/operatoraccesscontrol/20200630/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/oracle-api-access-control/20241130/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/organizations/20230401/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/organizations/20200801/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/osmh/20220901/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/postgresql/20220915/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/psasvc/20240301/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/publisher/20241201/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/queue/20210201/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/recovery-service/20210216/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/registry/20160918/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/resource-analytics/20241031/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/resource-discovery-monitoring-control-api/20210330/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/resource-scheduler/20240430/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/resourcemanager/20180917/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/rover/20201210/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/s3objectstorage/20160918/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/scanning/20210215/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/search/20180409/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/secretmgmt/20180608/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/secretretrieval/20190301/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/secure-desktops/20220618/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/security-attribute/20240815/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/self/20260129/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/service-catalog/20210527/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/serviceconnectors/20200909/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/smp/20210914/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/speech/20220101/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/stack-monitoring/20210330/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/streaming/20180418/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/threat-intel/20220901/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/usage/20200107/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/usage-proxy/20190111/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/vision/20220125/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/visual-builder/20210601/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/visual-builder-studio/20180828/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/vmware/20200501/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/vmware/20230701/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/waa/20211230/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/waas/20181116/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/waf/20210930/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/wlms/20241101/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/workrequests/20160918/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/zero-trust-packet-routing/20240301/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/zero-trust-packet-routing-tools/20240301/

Specifications

OpenAPI Specification

oracle-loganalytics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'The LogAnalytics API for the LogAnalytics service.

    '
  title: Log Analytics API
  version: '20200601'
  x-provenance:
    method: harvested
    first_party: true
    publisher: Oracle
    source: https://docs.oracle.com/en-us/iaas/api/specs/db21a29f3d8cc25f49231b268a4881bbb85252534de8fe254209cbe42cd8b9e0.yaml
    harvested: '2026-08-04'
    note: Published by Oracle as the contract for the LogAnalytics API OCI service and stored verbatim; API Evangelist added only this provenance block.
  x-evidence:
  - url: https://docs.oracle.com/en-us/iaas/api/specs/index.json
    what: Oracle's own index of every OCI service specification
  - url: https://docs.oracle.com/en-us/iaas/api/specs/db21a29f3d8cc25f49231b268a4881bbb85252534de8fe254209cbe42cd8b9e0.yaml
    what: the harvested document for LogAnalytics API
servers:
- url: https://127.0.0.1/20200601
tags:
- name: logAnalytics
paths:
  /namespaces:
    get:
      description: 'Given a tenancy OCID, this API returns the namespace of the tenancy if it is valid and subscribed to the region.  The

        result also indicates if the tenancy is onboarded with Log Analytics.

        '
      operationId: ListNamespaces
      parameters:
      - $ref: '#/components/parameters/CompartmentIdQueryParam'
      - $ref: '#/components/parameters/RequestIdHeader'
      - $ref: '#/components/parameters/CompartmentDeleteParam'
      responses:
        200:
          description: Operation succeeded
          headers:
            opc-request-id:
              description: 'Unique Oracle-assigned identifier for the request. When you contact Oracle about a specific request, provide the request ID.

                '
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NamespaceCollection'
        400:
          $ref: '#/components/responses/400'
        401:
          $ref: '#/components/responses/401'
        404:
          $ref: '#/components/responses/404'
        429:
          $ref: '#/components/responses/429'
        500:
          $ref: '#/components/responses/500'
        default:
          $ref: '#/components/responses/default'
      summary: Given a tenancy OCID, this API returns the namespace of the tenancy if it is valid and subscribed to the region.
      tags:
      - logAnalytics
      x-obmcs-authz-declarations:
        authorizationRequired: false
      x-obmcs-client-retries-enabled: true
      x-related-resource: '#/definitions/Namespace'
  /namespaces/{namespaceName}:
    get:
      description: 'This API gets the namespace details of a tenancy already onboarded in Log Analytics Application

        '
      operationId: GetNamespace
      parameters:
      - $ref: '#/components/parameters/RequestIdHeader'
      - $ref: '#/components/parameters/NamespaceNamePathParam'
      responses:
        200:
          description: Operation succeeded
          headers:
            etag:
              description: 'For optimistic concurrency control. See `if-match`.

                '
              schema:
                type: string
            opc-request-id:
              description: 'Unique Oracle-assigned identifier for the request. When you contact Oracle about a specific request, provide the request ID.

                '
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Namespace'
        400:
          $ref: '#/components/responses/400'
        401:
          $ref: '#/components/responses/401'
        404:
          $ref: '#/components/responses/404'
        429:
          $ref: '#/components/responses/429'
        500:
          $ref: '#/components/responses/500'
        default:
          $ref: '#/components/responses/default'
      summary: This API gets the namespace details of a tenancy already onboarded in Log Analytics Application
      tags:
      - logAnalytics
      x-obmcs-client-retries-enabled: true
  /namespaces/{namespaceName}/actions/offboard:
    post:
      description: Off-boards a tenant from Log Analytics
      operationId: OffboardNamespace
      parameters:
      - $ref: '#/components/parameters/NamespaceNamePathParam'
      - $ref: '#/components/parameters/RequestIdHeader'
      - $ref: '#/components/parameters/RetryTokenHeader'
      responses:
        202:
          description: Accepted the request. The tenant will be deleted from Log Analytics.
          headers:
            opc-request-id:
              description: 'Unique Oracle-assigned identifier for the request. When you contact Oracle about a specific request, provide the request ID.

                '
              schema:
                type: string
            opc-work-request-id:
              description: 'Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.

                '
              schema:
                type: string
        400:
          $ref: '#/components/responses/400'
        401:
          $ref: '#/components/responses/401'
        404:
          $ref: '#/components/responses/404'
        412:
          $ref: '#/components/responses/412'
        429:
          $ref: '#/components/responses/429'
        500:
          $ref: '#/components/responses/500'
        default:
          $ref: '#/components/responses/default'
      summary: Off-boards a tenant from Log Analytics
      tags:
      - logAnalytics
      x-related-resource: '#/definitions/Namespace'
  /namespaces/{namespaceName}/actions/onboard:
    post:
      description: 'On-boards a tenant to Log Analytics.

        '
      operationId: OnboardNamespace
      parameters:
      - $ref: '#/components/parameters/NamespaceNamePathParam'
      - $ref: '#/components/parameters/RetryTokenHeader'
      - $ref: '#/components/parameters/RequestIdHeader'
      responses:
        202:
          description: Accepted the request. The tenant will be on-boarded to Log Analytics.
          headers:
            opc-request-id:
              description: 'Unique Oracle-assigned identifier for the request. When you contact Oracle about a specific request, provide the request ID.

                '
              schema:
                type: string
            opc-work-request-id:
              description: 'Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.

                '
              schema:
                type: string
        400:
          $ref: '#/components/responses/400'
        401:
          $ref: '#/components/responses/401'
        404:
          $ref: '#/components/responses/404'
        409:
          $ref: '#/components/responses/409'
        429:
          $ref: '#/components/responses/429'
        500:
          $ref: '#/components/responses/500'
        default:
          $ref: '#/components/responses/default'
      summary: On-boards a tenant to Log Analytics
      tags:
      - logAnalytics
      x-related-resource: '#/definitions/Namespace'
  /namespaces/{namespaceName}/actions/otlp/v1/logs:
    post:
      description: 'Accepts log data in OTLP JSON-encoded Protobuf format.

        '
      operationId: UploadOtlpLogs
      parameters:
      - $ref: '#/components/parameters/NamespaceNamePathParam'
      - $ref: '#/components/parameters/RequestIdHeader'
      - $ref: '#/components/parameters/OpcLogGroupHeader'
      - $ref: '#/components/parameters/OptionalLogSetHeader'
      - $ref: '#/components/parameters/OptionalContentTypeHeader'
      - $ref: '#/components/parameters/RetryTokenHeader'
      - $ref: '#/components/parameters/OpcMetaPropertiesHeader'
      responses:
        200:
          description: The data was successfully accepted
          headers:
            opc-object-id:
              description: Unique Oracle-assigned identifier for log data.
              schema:
                type: string
            opc-request-id:
              description: 'Unique Oracle-assigned identifier for the request. When you contact Oracle about a specific request, provide the request ID.

                '
              schema:
                type: string
            timeCreated:
              description: The time the upload was created, in the format defined by RFC3339
              schema:
                type: string
                format: date-time
        400:
          $ref: '#/components/responses/400'
        401:
          $ref: '#/components/responses/401'
        404:
          $ref: '#/components/responses/404'
        409:
          $ref: '#/components/responses/409'
        429:
          $ref: '#/components/responses/429'
        500:
          $ref: '#/components/responses/500'
        default:
          $ref: '#/components/responses/default'
      summary: API to ingest log data in OTLP JSON-encoded Protobuf format
      tags:
      - logAnalytics
      x-example: "POST /20200601/namespaces/<var>&lt;namespaceName&gt;</var>/actions/otlp/v1/logs HTTP/1.1\nHost: loganalytics.us-phoenix-1.oraclecloud.com\ndate: Tue, 19 Jan 2021 02:56:35 GMT\ncontent-type: application/octet-stream\ncontent-length: 49\nauthorization: <var>&lt;authorization string&gt;</var>\n{\n  \"resourceLogs\": [\n    {\n      \"resource\": {\n        \"attributes\": [\n          {\n            \"key\": \"resource-attr\",\n            \"value\": {\n              \"stringValue\": \"resource-attr-val-1\"\n            }\n          }\n        ]\n      },\n      \"scopeLogs\": [\n        {\n          \"scope\": {},\n          \"logRecords\": [\n            {\n              \"timeUnixNano\": \"1581452773000000789\",\n              \"severityNumber\": 9,\n              \"severityText\": \"Info\",\n              \"body\": {\n                \"stringValue\": \"This is a log message\"\n              },\n              \"attributes\": [\n                {\n                  \"key\": \"app\",\n                  \"value\": {\n                    \"stringValue\": \"server\"\n                  }\n                },\n                {\n                  \"key\": \"instance_num\",\n                  \"value\": {\n                    \"intValue\": \"1\"\n                  }\n                }\n              ],\n              \"droppedAttributesCount\": 1,\n              \"traceId\": \"08040201000000000000000000000000\",\n              \"spanId\": \"0102040800000000\"\n            },\n            {\n              \"timeUnixNano\": \"1581452773000000789\",\n              \"severityNumber\": 9,\n              \"severityText\": \"Info\",\n              \"body\": {\n                \"stringValue\": \"something happened\"\n              },\n              \"attributes\": [\n                {\n                  \"key\": \"customer\",\n                  \"value\": {\n                    \"stringValue\": \"acme\"\n                  }\n                },\n                {\n                  \"key\": \"env\",\n                  \"value\": {\n                    \"stringValue\": \"dev\"\n                  }\n                }\n              ],\n              \"droppedAttributesCount\": 1,\n              \"traceId\": \"\",\n              \"spanId\": \"\"\n            }\n          ]\n        }\n      ]\n    }\n  ]\n}\n"
      x-obmcs-client-retries-enabled: true
      x-obmcs-signing-strategy: exclude_body
      x-related-resource: '#/definitions/Upload'
      requestBody:
        content:
          application/octet-stream:
            schema:
              format: binary
              type: string
          application/json:
            schema:
              format: binary
              type: string
        description: 'Accepts log data in OTLP JSON-encoded Protobuf format.

          Sample format: https://github.com/open-telemetry/opentelemetry-proto/blob/v1.3.1/examples/logs.json

          '
        required: true
  /namespaces/{namespaceName}/actions/setUnprocessedDataBucket:
    post:
      description: 'This API configures a bucket to store unprocessed payloads.

        While processing there could be reasons a payload cannot be processed (mismatched structure, corrupted archive format, etc),

        if configured the payload would be uploaded to the bucket for verification.

        '
      operationId: SetUnprocessedDataBucket
      parameters:
      - $ref: '#/components/parameters/NamespaceNamePathParam'
      - $ref: '#/components/parameters/BucketNameQueryParam'
      - $ref: '#/components/parameters/IsEnabledQueryParam'
      - $ref: '#/components/parameters/RequestIdHeader'
      responses:
        200:
          description: Response object containing represenation of object storage bucket for unprocessed data.
          headers:
            opc-request-id:
              description: 'Unique Oracle-assigned identifier for the request. When you contact Oracle about a specific request, provide the request ID.

                '
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnprocessedDataBucket'
        400:
          $ref: '#/components/responses/400'
        401:
          $ref: '#/components/responses/401'
        404:
          $ref: '#/components/responses/404'
        429:
          $ref: '#/components/responses/429'
        500:
          $ref: '#/components/responses/500'
        default:
          $ref: '#/components/responses/default'
      summary: Configure Unprocessed Data Bucket
      tags:
      - logAnalytics
      x-obmcs-client-retries-enabled: false
      x-related-resource: '#/definitions/Upload'
  /namespaces/{namespaceName}/actions/uploadDiscoveryData:
    post:
      description: 'Accepts discovery data for processing by Log Analytics.

        '
      operationId: UploadDiscoveryData
      parameters:
      - $ref: '#/components/parameters/NamespaceNamePathParam'
      - $ref: '#/components/parameters/RequestIdHeader'
      - $ref: '#/components/parameters/OpcMetaPropertiesHeader'
      - $ref: '#/components/parameters/DiscoveryDataTypeQueryParam'
      - $ref: '#/components/parameters/OptionalLogGroupQueryParam'
      - $ref: '#/components/parameters/PayloadTypeQueryParam'
      - $ref: '#/components/parameters/OptionalContentTypeHeader'
      - $ref: '#/components/parameters/RetryTokenHeader'
      responses:
        200:
          description: The discovery data was successfully accepted
          headers:
            opc-object-id:
              description: Unique Oracle-assigned identifier for log data.
              schema:
                type: string
            opc-request-id:
              description: 'Unique Oracle-assigned identifier for the request. When you contact Oracle about a specific request, provide the request ID.

                '
              schema:
                type: string
            timeCreated:
              description: The time the upload was created, in the format defined by RFC3339
              schema:
                type: string
                format: date-time
        400:
          $ref: '#/components/responses/400'
        401:
          $ref: '#/components/responses/401'
        404:
          $ref: '#/components/responses/404'
        409:
          $ref: '#/components/responses/409'
        429:
          $ref: '#/components/responses/429'
        500:
          $ref: '#/components/responses/500'
        default:
          $ref: '#/components/responses/default'
      summary: Upload Log Analytics Discovery Data
      tags:
      - logAnalytics
      x-obmcs-client-retries-enabled: true
      x-obmcs-signing-strategy: exclude_body
      x-related-resource: '#/definitions/LogAnalyticsEntity'
      requestBody:
        content:
          application/octet-stream:
            schema:
              format: binary
              type: string
        description: Discovery data
        required: true
  /namespaces/{namespaceName}/actions/uploadLogEventsFile:
    post:
      description: 'Accepts log events for processing by Log Analytics.

        '
      operationId: UploadLogEventsFile
      parameters:
      - $ref: '#/components/parameters/NamespaceNamePathParam'
      - $ref: '#/components/parameters/RequestIdHeader'
      - $ref: '#/components/parameters/LogGroupQueryParam'
      - $ref: '#/components/parameters/LogSetQueryParam'
      - $ref: '#/components/parameters/PayloadTypeQueryParam'
      - $ref: '#/components/parameters/OptionalContentTypeHeader'
      - $ref: '#/components/parameters/RetryTokenHeader'
      - $ref: '#/components/parameters/OpcMetaPropertiesHeader'
      responses:
        200:
          description: The log events data was successfully accepted
          headers:
            opc-object-id:
              description: Unique Oracle-assigned identifier for log data.
              schema:
                type: string
            opc-request-id:
              description: 'Unique Oracle-assigned identifier for the request. When you contact Oracle about a specific request, provide the request ID.

                '
              schema:
                type: string
            timeCreated:
              description: The time the upload was created, in the format defined by RFC3339
              schema:
                type: string
                format: date-time
        400:
          $ref: '#/components/responses/400'
        401:
          $ref: '#/components/responses/401'
        404:
          $ref: '#/components/responses/404'
        409:
          $ref: '#/components/responses/409'
        429:
          $ref: '#/components/responses/429'
        500:
          $ref: '#/components/responses/500'
        default:
          $ref: '#/components/responses/default'
      summary: Create Log Analytics Log Events Upload
      tags:
      - logAnalytics
      x-example: "(without logSet) POST /20200601/namespaces/<var>&lt;namespaceName&gt;</var>/actions/uploadLogEventsFile?logGroupId=<var>&lt;logGroup_OCID&gt;</var>&payloadType=<var>&lt;JSON&gt;</var> HTTP/1.1\n(with logSet) POST /20200601/namespaces/<var>&lt;namespaceName&gt;</var>/actions/uploadLogEventsFile?logGroupId=<var>&lt;logGroup_OCID&gt;</var>&logSet=<var>&lt;logSet&gt;</var>&payloadType=<var>&lt;JSON&gt;</var> HTTP/1.1\nHost: loganalytics.us-phoenix-1.oraclecloud.com\ndate: Tue, 19 Jan 2021 02:56:35 GMT\ncontent-type: application/octet-stream\ncontent-length: 49\nauthorization: <var>&lt;authorization string&gt;</var>\n{\n  \"metadata\": {\n    \"Environment\": \"prod\",\n    \"Client Host Region\": \"IST\"\n  },\n  \"logEvents\": [\n    {\n      \"metadata\": {\n        \"Environment\": \"dev\"\n    },\n    \"entityType\": \"Host (Linux)\",\n    \"entityId\": \"ocid1.loganalyticsentity.oc1.phx.amaaaaaa...\",\n    \"logSourceName\": \"Linux Syslog Logs\",\n    \"logPath\": \"/var/log/messages\",\n    \"logRecords\": [\n      \"Jan 18 2021 04:02:37 hostname syslogd 1.4.1: restart.\",\n      \"Jan 18 2021 04:02:36 hostname syslogd 1.4.1: shutdown.\"\n    ]\n  }\n  ]\n}\n"
      x-obmcs-client-retries-enabled: true
      x-obmcs-signing-strategy: exclude_body
      x-related-resource: '#/definitions/Upload'
      requestBody:
        content:
          application/octet-stream:
            schema:
              format: binary
              type: string
        description: "Log events data to be uploaded. The data could be uploaded with or without logSet information depending on whether logSet is enabled for the tenancy or not. Supported formats include\n1. json file : logSet (if needed) should be sent as \"logSet\" query parameter\n2. gzip file : logSet (if needed) should be sent as \"logSet\" query parameter\n3. zip file : containing multiple json files. LogSet information (if needed) should be appended to every filename in the zip.\n   Supported filename format with logSet detail is &lt;filename&gt;_logSet=&lt;logset&gt;.json\n"
        required: true
  /namespaces/{namespaceName}/actions/uploadLogFile:
    post:
      description: 'Accepts log data for processing by Log Analytics.

        '
      operationId: UploadLogFile
      parameters:
      - $ref: '#/components/parameters/NamespaceNamePathParam'
      - $ref: '#/components/parameters/UploadNameQueryParam'
      - $ref: '#/components/parameters/LogSourceNameQueryParam'
      - $ref: '#/components/parameters/EntityIdQueryParam'
      - $ref: '#/components/parameters/TimezoneQueryParam'
      - $ref: '#/components/parameters/CharacterEncodingQueryParam'
      - $ref: '#/components/parameters/DateFormatQueryParam'
      - $ref: '#/components/parameters/DateYearQueryParam'
      - $ref: '#/components/parameters/InvalidateCacheQueryParam'
      - $ref: '#/components/parameters/FileNameQueryParam'
      - $ref: '#/components/parameters/RequestIdHeader'
      - $ref: '#/components/parameters/OptionalContentMD5Header'
      - $ref: '#/components/parameters/OptionalContentTypeHeader'
      - $ref: '#/components/parameters/OpcLogGroupHeader'
      - $ref: '#/components/parameters/RetryTokenHeader'
      - $ref: '#/components/parameters/LogSetQueryParam'
      responses:
        200:
          description: The log data was successfully accepted
          headers:
            opc-content-md5:
              description: The base-64 encoded MD5 hash of the request body as computed by the server.
              schema:
                type: string
            opc-object-id:
              description: Unique Oracle-assigned identifier for log data.
              schema:
                type: string
            opc-request-id:
              description: 'Unique Oracle-assigned identifier for the request. When you contact Oracle about a specific request, provide the request ID.

                '
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Upload'
        400:
          $ref: '#/components/responses/400'
        401:
          $ref: '#/components/responses/401'
        404:
          $ref: '#/components/responses/404'
        409:
          $ref: '#/components/responses/409'
        429:
          $ref: '#/components/responses/429'
        500:
          $ref: '#/components/responses/500'
        default:
          $ref: '#/components/responses/default'
      summary: Create Log Analytics Upload
      tags:
      - logAnalytics
      x-obmcs-client-retries-enabled: true
      x-obmcs-signing-strategy: exclude_body
      x-related-resource: '#/definitions/Upload'
      requestBody:
        content:
          application/octet-stream:
            schema:
              format: binary
              type: string
        description: Log data
        required: true
  /namespaces/{namespaceName}/associatedEntities:
    get:
      description: 'Lists the association details of entities in the specified compartment that are associated with at least one source.

        '
      operationId: ListAssociatedEntities
      parameters:
      - $ref: '#/components/parameters/NamespaceNamePathParam'
      - $ref: '#/components/parameters/SourceNameQueryParam'
      - $ref: '#/components/parameters/EntityIdQueryParam'
      - $ref: '#/components/parameters/EntityTypeOptionalQueryParam'
      - $ref: '#/components/parameters/EntityTypeDisplayNameQueryParam'
      - $ref: '#/components/parameters/PaginationLimitQueryParam'
      - $ref: '#/components/parameters/PaginationTokenQueryParam'
      - $ref: '#/components/parameters/SortOrderQueryParam'
      - $ref: '#/components/parameters/AssociatedEntitySortByQueryParam'
      - $ref: '#/components/parameters/CompartmentIdQueryParam'
      - $ref: '#/components/parameters/RequestIdHeader'
      responses:
        200:
          description: The association details were successfully retrieved.
          headers:
            opc-next-page:
              description: 'For pagination of a list of items. When paging through a list, if this header appears in the response,

                then additional items may be available on the next page of the list. Include this value as the `page` parameter for the

                subsequent request to get the next batch of items.

                '
              schema:
                type: string
            opc-prev-page:
              description: 'For pagination of a list of items. When paging through a list, if this header appears in the response,

                then additional items may be available on the previous page of the list. Include this value as the `page` parameter for the

                subsequent request to get the previous batch of items.

                '
              schema:
                type: string
            opc-request-id:
              description: 'Unique Oracle-assigned identifier for the request. When you contact Oracle about a specific request, provide the request ID.

                '
              schema:
                type: string
          content:
            application/json;charset=UTF-8:
              schema:
                $ref: '#/components/schemas/LogAnalyticsAssociatedEntityCollection'
        400:
          $ref: '#/components/responses/400'
        401:
          $ref: '#/components/responses/401'
        404:
          $ref: '#/components/responses/404'
        429:
          $ref: '#/components/responses/429'
        500:
          $ref: '#/components/responses/500'
        default:
          $ref: '#/components/responses/default'
      summary: list of entities with associations
      tags:
      - logAnalytics
      x-obmcs-client-retries-enabled: true
      x-related-resource: '#/definitions/LogAnalyticsAssociation'
  /namespaces/{namespaceName}/associationSummary:
    get:
      description: 'Returns the count of source associations for entities in the specified compartment.

        '
      operationId: GetAssociationSummary
      parameters:
      - $ref: '#/components/parameters/NamespaceNamePathParam'
      - $ref: '#/components/parameters/CompartmentIdQueryParam'
      - $ref: '#/components/parameters/RequestIdHeader'
      responses:
        200:
          description: The association summary details were successfully retrieved.
          headers:
            opc-request-id:
              description: 'Unique Oracle-assigned identifier for the request. When you contact Oracle about a specific request, provide the request ID.

                '
              schema:
                type: string
          content:
            application/json;charset=UTF-8:
              schema:
                $ref: '#/components/schemas/AssociationSummaryReport'
        400:
          $ref: '#/components/responses/400'
        401:
          $ref: '#/components/responses/401'
        404:
          $ref: '#/components/responses/404'
        429:
          $ref: '#/components/responses/429'
        500:
          $ref: '#/components/responses/500'
        default:
          $ref: '#/components/responses/default'
      summary: association summary
      tags:
      - logAnalytics
      x-obmcs-client-retries-enabled: true
      x-related-resource: '#/definitions/LogAnalyticsAssociation'
  /namespaces/{namespaceName}/associations/actions/delete:
    post:
      description: 'Deletes the associations between the sources and entities specified.

        '
      operationId: DeleteAssociations
      parameters:
      - $ref: '#/components/parameters/NamespaceNamePathParam'
      - $ref: '#/components/parameters/RetryTokenHeader'
      - $ref: '#/components/parameters/RequestIdHeader'
      responses:
        202:
          description: Accepted
          headers:
            opc-request-id:
              description: 'Unique Oracle-assigned identifier for the request. When you contact Oracle about a specific request, provide the request ID.

                '
              schema:
                type: string
            opc-work-request-id:
              description: 'Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.

                '
              schema:
                type: string
        400:
          $ref: '#/components/responses/400'
        401:
          $ref: '#/components/responses/401'
        404:
          $ref: '#/components/responses/404'
        412:
          $ref: '#/components/responses/412'
        429:
          $ref: '#/components/responses/429'
        500:
          $ref: '#/components/responses/500'
        default:
          $ref: '#/components/responses/default'
      summary: delete associations
      tags:
      - logAnalytics
      x-obmcs-client-retries-enabled: true
      x-obmcs-get-work-request-operation: GetConfigWorkRequest
      x-related-resource: '#/definitions/LogAnalyticsAssociation'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteLogAnalyticsAssociationDetails'
        description: details for association
        required: true
  /namespaces/{namespaceName}/associations/actions/upsert:
    post:
      description: 'Creates or updates associations between sources and entities. All entities should belong to the specified input compartment.

        '
      operationId: UpsertAssociations
      parameters:
      - $ref: '#/components/parameters/NamespaceNamePathParam'
      - $ref: '#/components/parameters/IsFromRepublishQueryParam'
      - $ref: '#/components/parameters/RetryTokenHeader'
      - $ref: '#/components/parameters/RequestIdHeader'
      responses:
        202:
          description: Accepted
          headers:
            opc-request-id:
              description: 'Unique Oracle-assigned identifier for the request. When you contact Oracle about a specific request, provide the request ID.

                '
              schema:
                type: string
            opc-work-request-id:
              description: 'Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.

                '
              schema:
                type: string
        400:
          $ref: '#/components/responses/400'
        401:
          $ref: '#/components/responses/401'
        404:
          $ref: '#/components/responses/404'
        409:
          $ref: '#/components/responses/409'
        429:
          $ref: '#/components/responses/429'
        500:
          $ref: '#/components/responses/500'
        default:
          $ref: '#/components/responses/default'
      summary: create or update associations for a source
      tags:
      - logAnalytics
      x-obmcs-client-retries-enabled: true
      x-obmcs-get-work-request-operation: GetConfigWorkRequest
      x-related-resource: '#/definitions/LogAnalyticsAssociation'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpsertLogAnalyticsAssociationDetails'
        description: list of association details
        required: true
  /namespaces/{namespaceName}/associations/actions/validateParameters:
    post:
      description: 'Checks if the passed in entities could be associated with the specified sources. The validation is performed to ensure that the entities have the relevant property values that are used in the corresponding source patterns.

        '
      operationId: ValidateAssociationParameters
      parameters:
      - $ref: '#/components/parameters/NamespaceNamePathParam'
      - $ref: '#/components/parameters/PaginationLimitQueryParam'
      - $ref: '#/components/parameters/PaginationTokenQueryParam'
      - $ref: '#/components/parameters/SortOrderQueryParam'
      - $ref: '#/components/parameters/AssociationParameterSortByQueryParam'
      - $ref: '#/components/parameters/RetryTokenHeader'
      - $ref: '#/components/parameters/RequestIdHeader'
      responses:
        200:
          description: The source-entity associations were successfully validated.
          headers:
            etag:
              description: 'For optimistic concurrency control. See `if-match`.

                '
              schema:
                type: string
            opc-request-id:
              description: 'Unique Oracle-assigned identifier for the request. When you contact Oracle about a specific request, provide the request ID.

                '
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components

# --- truncated at 32 KB (850 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/oracle/refs/heads/main/openapi/oracle-loganalytics-api-openapi.yml