Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure for AWS ALB/CLB Logs or Cloudfront #180

Open
dragosrosculete opened this issue Oct 31, 2022 · 0 comments
Open

Configure for AWS ALB/CLB Logs or Cloudfront #180

dragosrosculete opened this issue Oct 31, 2022 · 0 comments

Comments

@dragosrosculete
Copy link

Hello,

How do I configure to process ALB/CLB logs
I am trying to use this as a sample config_logstash_http_input_ipv6.yml . I tried so many variation but I have no idea ...

webhook_text_bulk_separator: ","

imports:
- type: grok_patterns
  dir: ./patterns

    #grok_patterns:
    #- 'ELB_ACCESS_LOG'

metrics:
- type: counter
  name: ELB_REQUEST_LINE
  help: Total number of rejected recipients, partitioned by error message.
  match: '%{TIMESTAMP_ISO8601:timestamp} %{NOTSPACE:elb} %{IP:clientip}:%{INT:clientport:int} (?:(%{IP:backendip}:?:%{INT:backendport:int})|-) %{NUMBER:request_processing_time:float} %{NUMBER:backend_processing_time:fl
oat} %{NUMBER:response_processing_time:float} %{INT:response:int} %{INT:backend_response:int} %{INT:received_bytes:int} %{INT:bytes:int} %{ELB_REQUEST_LINE}'
  labels:
    error_message: '{{.message}}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant