Edge Delta Loki Output

Send logs to Loki.

Overview

The Loki Output node delivers logs and patterns to a Loki service.

Example Configuration

  - name: my_loki_output
    type: loki_output
    endpoint: http://localhost:3100/loki/api/v1/push
    user: 123456
    api_key: my_api_key   

Required Parameters

name

A descriptive name for the node. This is the name that will appear in Visual Pipelines and you can reference this node in the yaml using the name. It must be unique across all nodes. It is a yaml list element so it begins with a - and a space followed by the string. It is a required parameter for all nodes.

nodes:
  - name: <node name>
    type: <node type>

type: loki_output

The type parameter specifies the type of node being configured. It is specified as a string from a closed list of node types. It is a required parameter.

nodes:
  - name: <node name>
    type: <node type>

endpoint

The endpoint parameter is the full URL to the Loki instance where logs will be pushed. This is a required parameter to enable communication with Loki.

  - name: my_loki_output
    type: loki_output
    endpoint: http://localhost:3100/loki/api/v1/push
    user: 123456
    api_key: my_api_key   

user

The user attribute specifies the user ID for authorization with the Loki service. This parameter is required.

  - name: my_loki_output
    type: loki_output
    endpoint: http://localhost:3100/loki/api/v1/push
    user: 123456
    api_key: my_api_key   

api_key

The api_key is used for API authorization along with the user parameter. This parameter is required. Sensitive information like API keys should be stored securely.

  - name: my_loki_output
    type: loki_output
    endpoint: http://localhost:3100/loki/api/v1/push
    user: 123456
    api_key: my_api_key