Skip to content

Commit

Permalink
[Nginx_ingress_controller] fix nginx_ingress_controller.access.remote…
Browse files Browse the repository at this point in the history
…_ip_list field mapping (#10921)

* fix nginx_ingress_controller.access.remote_ip_list field mapping

Signed-off-by: Tetiana Kravchenko <[email protected]>

* Update changelog.yml

---------

Signed-off-by: Tetiana Kravchenko <[email protected]>
  • Loading branch information
tetianakravchenko authored Sep 2, 2024
1 parent d859605 commit d5f7252
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions packages/nginx_ingress_controller/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.10.1"
changes:
- description: Fix nginx_ingress_controller.access.remote_ip_list field mapping.
type: bugfix
link: https://github.com/elastic/integrations/pulls/10921
- version: "1.10.0"
changes:
- description: Migrate to format_version v3.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
type: group
fields:
- name: remote_ip_list
type: ip
type: keyword
description: |
An array of remote IP addresses. It is a list because it is common to include, besides the client IP address, IP addresses from headers like `X-Forwarded-For`. Real source IP is restored to `source.ip`.
- name: http.request.length
Expand Down
2 changes: 1 addition & 1 deletion packages/nginx_ingress_controller/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ An example event for `access` looks as following:
| nginx_ingress_controller.access.http.request.id | The randomly generated ID of the request | text |
| nginx_ingress_controller.access.http.request.length | The request length (including request line, header, and request body) | long |
| nginx_ingress_controller.access.http.request.time | Time elapsed since the first bytes were read from the client | double |
| nginx_ingress_controller.access.remote_ip_list | An array of remote IP addresses. It is a list because it is common to include, besides the client IP address, IP addresses from headers like `X-Forwarded-For`. Real source IP is restored to `source.ip`. | ip |
| nginx_ingress_controller.access.remote_ip_list | An array of remote IP addresses. It is a list because it is common to include, besides the client IP address, IP addresses from headers like `X-Forwarded-For`. Real source IP is restored to `source.ip`. | keyword |
| nginx_ingress_controller.access.upstream.alternative_name | The name of the alternative upstream. | text |
| nginx_ingress_controller.access.upstream.ip | The IP address of the upstream server. If several servers were contacted during request processing, their addresses are separated by commas. | ip |
| nginx_ingress_controller.access.upstream.name | The name of the upstream. | keyword |
Expand Down
2 changes: 1 addition & 1 deletion packages/nginx_ingress_controller/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 3.0.4
name: nginx_ingress_controller
title: Nginx Ingress Controller Logs
version: 1.10.0
version: 1.10.1
description: Collect Nginx Ingress Controller logs.
type: integration
categories:
Expand Down

0 comments on commit d5f7252

Please sign in to comment.