@@ -82,19 +82,22 @@ source=accounts
8282The query returns the following results:
8383
8484``` text
85- fetched rows / total rows = 1/1
86- +---------+
87- | price |
88- |---------|
89- | 1234.0 |
90- +---------+
85+ fetched rows / total rows = 4/4
86+ +--------+
87+ | price |
88+ |--------|
89+ | 1234.0 |
90+ | 1234.0 |
91+ | 1234.0 |
92+ | 1234.0 |
93+ +--------+
9194```
9295
9396## Example 3: Converting a field containing memory units
9497
9598The following query converts memory size strings to kilobytes:
9699
97- ``` ppl
100+ ``` ppl ignore
98101source=system_metrics
99102| eval memory='100m'
100103| convert memk(memory)
@@ -269,11 +272,14 @@ source=accounts
269272The query returns the following results:
270273
271274``` text
272- fetched rows / total rows = 1/1
275+ fetched rows / total rows = 4/4
273276+---------------------+
274277| timestamp |
275278|---------------------|
276279| 10/18/2003 20:07:13 |
280+ | 10/18/2003 20:07:13 |
281+ | 10/18/2003 20:07:13 |
282+ | 10/18/2003 20:07:13 |
277283+---------------------+
278284```
279285
@@ -291,11 +297,14 @@ source=accounts
291297The query returns the following results:
292298
293299``` text
294- fetched rows / total rows = 1/1
300+ fetched rows / total rows = 4/4
295301+--------------+
296302| date_str |
297303|--------------|
298- | 1.066507633E9|
304+ | 1066507633.0 |
305+ | 1066507633.0 |
306+ | 1066507633.0 |
307+ | 1066507633.0 |
299308+--------------+
300309```
301310
@@ -313,11 +322,14 @@ source=accounts
313322The query returns the following results:
314323
315324``` text
316- fetched rows / total rows = 1/1
325+ fetched rows / total rows = 4/4
317326+---------------------+
318327| timestamp |
319328|---------------------|
320329| 2003-10-18 20:07:13 |
330+ | 2003-10-18 20:07:13 |
331+ | 2003-10-18 20:07:13 |
332+ | 2003-10-18 20:07:13 |
321333+---------------------+
322334```
323335
@@ -333,12 +345,15 @@ source=accounts
333345The query returns the following results:
334346
335347``` text
336- fetched rows / total rows = 1/1
337- +------------+
338- | date_str |
339- |------------|
340- | 9.466848E8 |
341- +------------+
348+ fetched rows / total rows = 4/4
349+ +-------------+
350+ | date_str |
351+ |-------------|
352+ | 946684800.0 |
353+ | 946684800.0 |
354+ | 946684800.0 |
355+ | 946684800.0 |
356+ +-------------+
342357```
343358
344359## Example 12: Converting duration to seconds with dur2sec()
@@ -355,11 +370,14 @@ source=accounts
355370The query returns the following results:
356371
357372``` text
358- fetched rows / total rows = 1/1
373+ fetched rows / total rows = 4/4
359374+----------+
360375| duration |
361376|----------|
362377| 5025.0 |
378+ | 5025.0 |
379+ | 5025.0 |
380+ | 5025.0 |
363381+----------+
364382```
365383
@@ -377,11 +395,14 @@ source=accounts
377395The query returns the following results:
378396
379397``` text
380- fetched rows / total rows = 1/1
398+ fetched rows / total rows = 4/4
381399+----------+
382400| time_str |
383401|----------|
384402| 225.5 |
403+ | 225.5 |
404+ | 225.5 |
405+ | 225.5 |
385406+----------+
386407```
387408
0 commit comments