Skip to content

Commit 592e083

Browse files
authored
[DOCS] More formatting fixes to Timelion docs (#65543) (#65557)
1 parent 40c23fe commit 592e083

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

docs/visualize/timelion.asciidoc

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ To start tracking the real-time percentage of CPU, enter the following in the *T
3232

3333
[source,text]
3434
----------------------------------
35-
.es(index=metricbeat-*, timefield='@timestamp', metric='avg:system.cpu.user.pct')
35+
.es(index=metricbeat-*,
36+
timefield='@timestamp',
37+
metric='avg:system.cpu.user.pct')
3638
----------------------------------
3739

3840
[role="screenshot"]
@@ -70,7 +72,12 @@ To easily distinguish between the two data sets, add the label names:
7072

7173
[source,text]
7274
----------------------------------
73-
.es(offset=-1h,index=metricbeat-*, timefield='@timestamp', metric='avg:system.cpu.user.pct').label('last hour'), .es(index=metricbeat-*, timefield='@timestamp', metric='avg:system.cpu.user.pct').label('current hour') <1>
75+
.es(offset=-1h,index=metricbeat-*,
76+
timefield='@timestamp',
77+
metric='avg:system.cpu.user.pct').label('last hour'),
78+
.es(index=metricbeat-*,
79+
timefield='@timestamp',
80+
metric='avg:system.cpu.user.pct').label('current hour') <1>
7481
----------------------------------
7582

7683
<1> `.label()` adds custom labels to the visualization.

0 commit comments

Comments
 (0)