I am new to the ELK stack and trying to learn how to visualize some things. I have data coming in from one of our machine tools and I would like to make a simple counter that show the amount of time the machine has been running for a given time period my document looks like this.
@timestamp Nov 30, 2020 @ 18:51:11.217
@version 1
Samples.AccumulatedTime.@@data 1.98
Samples.AccumulatedTime.name p1CuttingTime
Samples.AccumulatedTime.subType x:CUTTING_TIME
_id IDjIG3YBNhsRe95vKY52
_index mtconnect-demo
_score -
_type _doc
componentId Mp1
dataItemId Mp1CuttingTime
deviceName OKUMA.MachiningCenterMA650-EAST
deviceUUID OKUMA.MachiningCenterMA650-EAST.190056
host mt-data-01
sequence 6,829,939
timestamp Nov 30, 2020 @ 18:48:56.714
type json
I know I can get a COUNT of the p1CuttingTime but how do I get the value of the Samples.AccumulatedTime.@@data that goes along with p1CuttingTime? Any help would be appreciated as well as pointers to any tutorials on working with Visualizations