github.com/replicatedcom/ship@v0.50.0/integration/unfork/elastic-stack/expected/base/charts/logstash/templates/pipeline-config.yaml (about) 1 --- 2 # Source: elastic-stack/charts/logstash/templates/pipeline-config.yaml 3 apiVersion: v1 4 kind: ConfigMap 5 metadata: 6 name: elastic-stack-logstash-pipeline 7 labels: 8 app: logstash 9 chart: logstash-1.4.2 10 release: elastic-stack 11 heritage: Tiller 12 data: 13 input_main: |- 14 input { 15 # udp { 16 # port => 1514 17 # type => syslog 18 # } 19 # tcp { 20 # port => 1514 21 # type => syslog 22 # } 23 beats { 24 port => 5044 25 } 26 # http { 27 # port => 8080 28 # } 29 # kafka { 30 # ## ref: https://www.elastic.co/guide/en/logstash/current/plugins-inputs-kafka.html 31 # bootstrap_servers => "kafka-input:9092" 32 # codec => json { charset => "UTF-8" } 33 # consumer_threads => 1 34 # topics => ["source"] 35 # type => "example" 36 # } 37 } 38 output_main: |- 39 output { 40 # stdout { codec => rubydebug } 41 elasticsearch { 42 hosts => ["${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}"] 43 manage_template => false 44 index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}" 45 document_type => "%{[@metadata][type]}" 46 } 47 # kafka { 48 # ## ref: https://www.elastic.co/guide/en/logstash/current/plugins-outputs-kafka.html 49 # bootstrap_servers => "kafka-output:9092" 50 # codec => json { charset => "UTF-8" } 51 # compression_type => "lz4" 52 # topic_id => "destination" 53 # } 54 }