elastic / elastic/integrations

[Apache] Update dashboard data view

Open
#13,240 2 comments 0 reactions 0 assignees View on GitHub
Integration:apache Team:Obs-InfraObs
Dominant language
Handlebars
Stars
333
Forks
647
Avg merge
3d 4h
Merged PRs (30d)
209

Description

In Apache integration package, found that if the visualization is having a data type conflicted field, user can either get a warning/error.

This issue can occur with any two integrations having a particular field and different data type and querying either `logs-*` or `metrics-*` data views. This issue would not have occurred if the data type of these fields would have been consistent across data streams.

I have tested two scenarios here.

I have ingested mock data with other logs data stream and with keyword data type for `http.response.status_code` data stream. Now I when I go to the dashboard, I can see warning message for none apache data stream.
Now I have changed the visualization data view from `logs-*` to `logs-apache.*` and I can see the warning is vanished. This data view change across the dashboard could resolve the current issue.

Please refer to the attached screenshots.

Both visualizations are having warning messages.
![Image](https://github.com/user-attachments/assets/bc786062-8b11-425b-93fa-8a6593f503eb)

Different data streams warning message in Apache dashboard even if the dashboard is having `data_stream.dataset: apache.access` filter. (This is just a mock data that I have ingested with other package)
![Image](https://github.com/user-attachments/assets/eac1c3d4-c98b-4da5-b1e9-a3bf71771d2e)

Updated data view for one visualization and warning message is vanished.
![Image](https://github.com/user-attachments/assets/c782b62e-7031-42ac-ad9b-e712373f4865)

**Note: This can happen for other integrations dashboard as well in case field mapping is not correctly done**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.