Skip to content

[O11y][Nginx] Lens Migration  #5713

@rajvi-patel-22

Description

@rajvi-patel-22

Manually migrate Nginx visualizations to lens in current Kibana version 8.5.0 itself.

Preparation of data for testing

  • Use sample_event.json / setup live instance using docker / mock data using mock server to populate dashboards

Migration stats

Nginx Dashboards Before Migration   After Migration  
  Lens Visualization Lens Visualization
[Metrics Nginx] Overview 0 9 9 0
[Logs Nginx] Access and error logs 0 3 2 1 (Markdown)
[Logs Nginx] Overview 0 8 7 1 (Markdown)
  0 20 18 2 (markdown)

Dashboard : [Metrics Nginx] Overview

Dashboard : [Logs Nginx] Access and error logs

Dashboard : [Logs Nginx] Overview

Verification and Validation

  • Verification of functionality remains the same after migration in Kibana
  • Verification of data count of after-migrated visualization with before-migrated visualization in Kibana
  • Verification of Dashboard are not distorted in supported Kibana version (8.5.0)

Note:
In the Response codes over time [Logs Nginx] we faced below two issues:

  1. Lens doesn't have a gradient color palette.
    Solution: Set the color palette to status color palette because the values are defined by response status codes.
  2. We are unable to set http.response.status_code: [200 TO 299] filters due to number_format_exception.
    Solution: To overcome this issue we have set the filter as http.response.status_code >= 200 and http.response.status_code<= 299.

Issues Identified

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions