Skip to content

ty-elastic/otel-logen

Repository files navigation

OTel Log Generator for Elastic

Setup

Elastic ECH or Serverless or Self-Managed

  1. Create an API Key as a superuser

Machine you are running the tool from

  1. Setup the following env vars:
export KIBANA_URL=
export ELASTICSEARCH_URL=
export ELASTICSEARCH_APIKEY=
  1. Run
cd cluster
./setup.sh

Use

  1. Setup the following env vars:
export KIBANA_URL=
export ELASTICSEARCH_URL=
export ELASTICSEARCH_APIKEY=
  1. Run docker compose:
docker compose build
docker compose up

Config

config/otel-logen.yaml

  • message sources are defined under thread/messages
  • name the source (in the example, nominal)

canned logs

    messages:
      nominal:
        file:
          path: logs/Spark_2k.log_structured.csv
          type: csv
        order: loop
  • set order to loop or random

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors