Refactoring: Changed remaining check parameters starting with an 's' to the new rules...
[check_mk.git] / .werks / 2493
blob3dc6eabfaaefff31ae0fdb31eae6c9529b24ccf8
1 Title: Fixed wrong JSON format when using stats queries together with header columns
2 Level: 1
3 Component: livestatus
4 Compatible: compat
5 Version: 1.2.7i3
6 Date: 1438069896
7 Class: fix
9 e.g. this query lead to invalid JSON output:
11 GET statehist
12 Filter: time >= 1425168000
13 Filter: time < 1427846400
14 Filter: host_name = name
15 Filter: service_description = Description
16 Stats: sum duration_part_ok
17 OutputFormat: json
18 ColumnHeaders: on 
20 Output:
21 [["stats_1"][0.0000000000e+00]]