Assets

... optimizing your manufacturing processes with modular digital twins composed of expert assets...

icon

ComplexRA-Logstash-MS

Microservice

Provided by SZTAKI - Institute for Computer Science and Control 6 months, 1 week ago (last modified 5 months, 1 week ago); viewed 110 times and bound 1 time

Classification: Other

Type: Other

Configuration Files
  • File path: /usr/share/logstash/pipeline/logtash.conf
  • File content:

    input {
    kafka {
    topics => ["sensor01"]
    bootstrap_servers => "kafka:9092"
    auto_offset_reset => "latest"
    group_id => "digitbrain-logstash-0"
    decorate_events => "extended"
    }
    }
    filter {
    mutate {
    add_field => {
    "lc_topic" => "%{[@metadata][kafka][topic]}"
    "kafka.timestamp" => "%{[@metadata][kafka][timestamp]}"
    "kafka.partition" => "%{[@metadata][kafka][partition]}"
    "kafka.offset" => "%{[@metadata][kafka][offset]}"
    }
    }
    mutate {
    lowercase => [ "lc_topic" ]
    }
    json {
    source => "message"
    }
    }
    output {
    elasticsearch {
    hosts => ["https://es01:9200"]
    ilm_rollover_alias => "kafka-%{[lc_topic]}"
    ilm_enabled => "true"
    ilm_pattern => "000001"
    ssl_verification_mode => "none"
    user => "elastic"
    # This should match the password set in .env for ELASTIC_PASSWORD
    password => "elastic"
    }
    }

  • File path: /usr/share/logstash/config/logstash.yml
  • File content:

    ---

Container Deployment Information
  • Format: docker-compose
  • GUI Microservice: No
  • Workload type: service
  • Opened ports: