Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] Timelion cleanup #41381

Merged
merged 2 commits into from
Jul 22, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 6 additions & 55 deletions docs/visualize/timelion.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ For example, Timelion enables you to easily get the answers to questions like:
* <<mathematical-functions-intro, What does my inbound and outbound network traffic look like?>>
* <<timelion-conditional-intro, How much memory is my system actually using?>>

[float]
[[time-series-intro]]
== Create time series visualizations

To compare the real-time percentage of CPU time spent in user space to the results offset by one hour, create a time series visualization.

[float]
[[time-series-before-you-begin]]
=== Before you begin

In this tutorial, you'll use the time series data from https://www.elastic.co/guide/en/beats/metricbeat/current/index.html[Metricbeat]. To ingest the data locally, link:https://www.elastic.co/downloads/beats/metricbeat[download Metricbeat].

[float]
[[time-series-intro]]
== Create time series visualizations

To compare the real-time percentage of CPU time spent in user space to the results offset by one hour, create a time series visualization.

[float]
[[time-series-define-functions]]
=== Define the functions
Expand Down Expand Up @@ -134,31 +134,12 @@ Change the position and style of the legend:
image::images/timelion-customize04.png[]
{nbsp}

[float]
[[time-series-save-visualization]]
=== Save the visualization

When you have finished making changes, save the visualization.

. Click *Save*.

. In the *Title* field, enter a name for the visualization.

. Click *Confirm Save*.

[float]
[float]
[[mathematical-functions-intro]]
== Create visualizations with mathematical functions

To create a visualization for inbound and outbound network traffic, use mathematical functions.

[float]
[[mathematical-functions-before-you-begin]]
=== Before you begin

In this tutorial, you'll use the time series data from https://www.elastic.co/guide/en/beats/metricbeat/current/index.html[Metricbeat]. To ingest the data locally, link:https://www.elastic.co/downloads/beats/metricbeat[download Metricbeat].

[float]
[[mathematical-functions-define-functions]]
=== Define the functions
Expand Down Expand Up @@ -237,18 +218,6 @@ Customize and format the visualization using functions:
image::images/timelion-math05.png[]
{nbsp}

[float]
[[mathematical-functions-save-visualization]]
=== Save the visualization

When you have finished making changes, save the visualization.

. Click *Save*.

. In the *Title* field, enter a name for the visualization.

. Click *Confirm Save*.

[float]
[[timelion-conditional-intro]]
== Create visualizations with conditional logic and tracking trends
Expand All @@ -265,12 +234,6 @@ With Timelion conditional logic, you can use the following operator values to co
`gt`:: greater than
`gte`:: greater than or equal to

[float]
[[conditional-before-you-begin]]
=== Before you begin

In this tutorial, you'll use the time series data from https://www.elastic.co/guide/en/beats/metricbeat/current/index.html[Metricbeat]. To ingest the data locally, link:https://www.elastic.co/downloads/beats/metricbeat[download Metricbeat].

[float]
[[conditional-define-functions]]
=== Define the functions
Expand Down Expand Up @@ -338,16 +301,4 @@ Customize and format the visualization using functions:
image::images/timelion-conditional04.png[]
{nbsp}

[float]
[[conditional-save-visualization]]
=== Save the visualization

When you have finished making changes, save the visualization.

. Click *Save*.

. In the *Title* field, enter a name for the visualization.

. Click *Confirm Save*.

For additional information on Timelion conditional capabilities, go to https://www.elastic.co/blog/timeseries-if-then-else-with-timelion[I have but one .condition()].