Data split into multiple Documents

I am writing the Prometheus collected metrics into Elasticsearch for every 2 minutes. I see multiple documents for a single data collection and each documents has different fields. Is this the way Elasticsearch stores the data or Is there any issues with integration? Actually, How can I build the dashboard with different fields? Ex., I need a Temperature value of a particular sensor. But the sensor is stored in different document and the temperature filed is stored in another document.

How are you indexing the data into Elasticsearch? The document structure you have in place does not seem appropriate for what you are looking to achieve, so you will likely need to change this.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.