You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* **timefield**: optional. Specifies the timestamp field to use for time interval grouping.
30
+
31
+
* Default: ``@timestamp``
32
+
* Specify a timestamp field for the time-based aggregation.
33
+
29
34
* **span**: optional. Specifies the time interval for grouping data.
30
35
31
36
* Default: 1m (1 minute)
@@ -105,7 +110,7 @@ Return type: DOUBLE
105
110
Notes
106
111
=====
107
112
108
-
* The ``timechart`` command requires a timestamp field named ``@timestamp`` in the data.
113
+
* The ``timechart`` command requires a timestamp field in the data. By default, it uses the ``@timestamp`` field, but you can specify a different field using the ``timefield`` parameter.
109
114
* Results are returned in an unpivoted format with separate rows for each time-field combination that has data.
110
115
* Only combinations with actual data are included in the results - empty combinations are omitted rather than showing null or zero values.
111
116
* The "top N" values for the ``limit`` parameter are selected based on the sum of values across all time intervals for each distinct field value.
0 commit comments