justbagmeg

  • 홈
  • Github
  • OpenTelemetry

benthos/examples 2

[benthos] example2 - elasticsearch output

benthos.yaml http: address: enabled: true root_path: /benthos debug_endpoints: true input: resource: input_src pipeline: processors: [] output: resource: output_src input_resources: - label: input_src http_server: address: 0.0.0.0:4197 path: /post allowed_verbs: - POST output_resources: - label: output_src elasticsearch: urls: - http://127.0.0.1:9200 index: my_index id: ${!count("elastic_ids")}-..

benthos/examples 2022.09.04

[benthos] example1 (POST input, stdout output)

config.yaml # Common config fields, showing default values input: label: "" http_server: address: "0.0.0.0:30000" path: /post allowed_verbs: - POST timeout: 5s pipeline: processors: [] output: label: "" stdout: codec: lines run benthos with config.yaml benthos -c send POST request curl -XPOST http://127.0.0.1:30000/post -H 'Content-Type: application/json' -d '{"foo":"bar"}' input으로 받은 데이터가 stdou..

benthos/examples 2022.08.27
이전
1
다음
더보기
프로필사진

justbagmeg

  • 전체 글 목록 (25)
    • benthos (8)
      • 코드 분석 (3)
      • Bloblang (1)
      • examples (2)
    • IDE (1)
      • vim (1)
    • 환경 (2)
      • tmux (1)
    • 커널 (1)
      • iamroot (0)
      • 디버깅을 통해 배우는 리눅스 커널의 구조와 원리 (1)
    • Druid (3)
    • OpenTelemetry (9)
      • 번역 (8)
      • collector (1)
    • Armv8 (1)

최근글과 인기글

  • 최근글
  • 인기글

Copyright © Kakao Corp. All rights reserved.

티스토리툴바