summaryrefslogtreecommitdiffstats
path: root/test/livestatus/queries/statehist/sum
diff options
context:
space:
mode:
Diffstat (limited to 'test/livestatus/queries/statehist/sum')
-rw-r--r--test/livestatus/queries/statehist/sum9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/livestatus/queries/statehist/sum b/test/livestatus/queries/statehist/sum
new file mode 100644
index 0000000..b244adc
--- /dev/null
+++ b/test/livestatus/queries/statehist/sum
@@ -0,0 +1,9 @@
+GET statehist
+Columns: host_name service_description state duration duration_part
+Filter: host_name = localhost
+Filter: service_description = disk
+Filter: time >= 1348657741
+Stats: sum duration
+Stats: sum duration_part
+ResponseHeader: fixed16
+