Visualise data filtered by time

(javi) #1


I have a temperature sensor and i am feeding elasticsearch the data that consists in timestamp, humidity and temperature

I want to generate a graph that displays as a line chart the temperature in the y axis and the timestamp in the x axis. Something like this


Looks pretty trivial and basic but i am not able to generate that visualisation

On x axis i have date histogram, thats clear. But on y axis, what should i set?


(Lukas Olson) #2

For the y-axis you can choose average temperature, which should basically accomplish what you're asking. Currently, there is no way to visualize individual documents inside your dataset, only aggregate data.

(Bryan Stuhlsatz) #3

If you choose a custom time for your date histogram, and make it a smaller bucket than your data collection interval, then it will display your exact data values. Always be aware of the data collection interval, and what display problem you are trying to solve (ex. the max value of a field).

You can also add 2 aggregations and show your temperature and your humidity on the same graph (one on the left, and one on the right).

(system) closed #4

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