Skip to content

Opni Ingest Pipeline

Amartya Chakraborty edited this page Jan 25, 2023 · 6 revisions

Opni Ingest Pipeline

Description

The Opni ingest pipeline normalizes any log messages coming to the central Opni cluster to a standard format. The normalized logs can then be utilized by other Opni components including Opensearch and AIOps services. It is deployed as an OpenSearch ingest pipeline and implemented as a plugin of OpenSearch.

Programming Languages

  • Java

Diagram

Log Anomaly Detection - Ingest pipeline

Responsibilities

  • the logging processor
    • Normalize fields that contain log messages to a fixed field log.
    • Normalize time or timestamp fields to a fixed field time.
    • Assign random ID to each document.
  • the AIOps processor
    • Normalize a few key fields utilized by AIOps services.
      • log_type: workload/controlplane/rancher/longhorn
      • kubernetes_component
      • pod_name
      • namespace_name
    • Push document to Nats.

Input and output interfaces

Input

Component Type Description
Opni agent Opni agent The data received by the Opensearch ingest pipeline comes from clusters with Opni agent installed and logging capability enabled.

Output

Component Type Description
Opensearach Database
Nats Nats subject push logs to the Nats subject raw_logs .

Restrictions/limitations

  • Doesn't support batch process, only process 1 document at a time in each thread.

Performance issues

  • (Known issue) Performance issue -- processing speed too slow -- caused by the random ID assignment.

Test plan

Clone this wiki locally