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

[Apache] Some visualizations may become blank #5560

Closed
sakurai-youhei opened this issue Mar 16, 2023 · 1 comment · Fixed by #5576
Closed

[Apache] Some visualizations may become blank #5560

sakurai-youhei opened this issue Mar 16, 2023 · 1 comment · Fixed by #5576
Labels
bug Something isn't working, use only for issues Integration:apache Apache HTTP Server

Comments

@sakurai-youhei
Copy link
Member

Affected visualizations:

  • Uptime [Metrics Apache]
  • Total accesses [Metrics Apache]
  • Total egress [Metrics Apache]

image

Two problems:

  1. The empty index_pattern makes them fall back to the default data view.
    -> [TSVB] Technical debt - remove default_index_pattern and default_timefield from model kibana#95925
  2. The empty interval may result in fixed_interval": "10s", which is shorter than the default 30s polling interval.
    -> https://github.com/elastic/integrations/blob/main/packages/apache/data_stream/status/manifest.yml#LL12C18-L12C21

Workarounds:

  1. Make metrics-* data view default from Kibana > Stack Management > Data Views.
  2. Set shorter period such as 10s through Agent policy.

image

How to fix:

Set metrics-* to index_pattern and >=1m to interval explicitly. Preferably explicit @timestamp to time_field as well.

@sakurai-youhei sakurai-youhei added bug Something isn't working, use only for issues Integration:apache Apache HTTP Server labels Mar 16, 2023
sakurai-youhei added a commit to sakurai-youhei/integrations that referenced this issue Mar 17, 2023
sakurai-youhei added a commit that referenced this issue Mar 24, 2023
* Fix Apache Visualizations

Closes #5560

* Bump up version with an entry to changelog
@elasticmachine
Copy link

Package apache - 1.8.2 containing this change is available at https://epr.elastic.co/search?package=apache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working, use only for issues Integration:apache Apache HTTP Server
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants