Comments from Gail

This commit is contained in:
KOTungseth 2019-07-16 10:50:59 -05:00
parent 6c58e68b57
commit d073981843

View file

@ -1,5 +1,5 @@
[[timelion]]
== Timelion
== Visualizing your data with Timelion
Timelion is a time series data visualizer that enables you to combine totally
independent data sources within a single visualization. It's driven by a simple
@ -8,38 +8,25 @@ to tease out the answers to complex questions, and visualize the results.
For example, Timelion enables you to easily get the answers to questions like:
* How many pages does each unique user view over time?
* What's the difference in traffic volume between this Friday and last Friday?
* What percent of Japan's population came to my site today?
* What's the 10-day moving average of the S&P 500?
* What's the cumulative sum of all search requests received in the last 2 years?
[[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.
* <<time-series-intro, What is the real-time percentage of CPU time spent in user space to the results offset by one hour?>>
* <<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
=== 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-create]]
==== Create the visualization
Create the Timelion visualization.
. Click *Visualize*.
. On the *Visualizations* page, click *Create new visualization*.
. On the *New Visualization* window, click *Timelion*.
[float]
[[time-series-define-functions]]
==== Define the functions
=== Define the functions
To start tracking the real-time percentage of CPU, enter the following in the *Timelion Expression* field:
@ -53,7 +40,7 @@ image::images/timelion-create01.png[]
[float]
[[time-series-compare-data]]
==== Compare the data
=== Compare the data
To compare the two data sets, add another series with data from the previous hour, separated by a comma:
@ -69,7 +56,7 @@ image::images/timelion-create02.png[]
[float]
[[time-series-add-labels]]
==== Add label names
=== Add label names
To easily distinguish between the two data sets, add the label names:
@ -85,7 +72,7 @@ image::images/timelion-create03.png[]
[float]
[[time-series-title]]
==== Add a title
=== Add a title
Add a meaningful title:
@ -101,7 +88,7 @@ image::images/timelion-customize01.png[]
[float]
[[time-series-change-chart-type]]
==== Change the chart type
=== Change the chart type
To differentiate between the current hour data and the last hour data, change the chart type:
@ -117,7 +104,7 @@ image::images/timelion-customize02.png[]
[float]
[[time-series-change-color]]
==== Change the line colors
=== Change the line colors
To make the current hour data stand out, change the line colors:
@ -133,7 +120,7 @@ image::images/timelion-customize03.png[]
[float]
[[time-series-adjust-legend]]
==== Make adjustments to the legend
=== Make adjustments to the legend
Change the position and style of the legend:
@ -149,7 +136,7 @@ image::images/timelion-customize04.png[]
[float]
[[time-series-save-visualization]]
==== Save the visualization
=== Save the visualization
When you have finished making changes, save the visualization.
@ -159,32 +146,22 @@ When you have finished making changes, save the visualization.
. Click *Confirm Save*.
[float]
[float]
[[mathematical-functions-intro]]
=== Create visualizations with mathematical functions
== 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
=== 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]
[[math-add-timelion-visualization]]
==== Create the visualization
Create the Timelion visualization.
. Click *Visualize*.
. On the *Visualizations* page, click *Create new visualization*.
. On the *New Visualization* window, click *Timelion*.
[float]
[[mathematical-functions-define-functions]]
==== Define the functions
=== Define the functions
To start tracking the inbound and outbound network traffic, enter the following in the *Timelion Expression* field:
@ -198,7 +175,7 @@ image::images/timelion-math01.png[]
[float]
[[mathematical-functions-plot-change]]
==== Plot the rate of change
=== Plot the rate of change
Change how the data is displayed so that you can easily monitor the inbound traffic:
@ -226,7 +203,7 @@ image::images/timelion-math03.png[]
[float]
[[mathematical-functions-convert-data]]
==== Change the data metric
=== Change the data metric
To make the visualization easier to analyze, change the data metric from bytes to megabytes:
@ -242,7 +219,7 @@ image::images/timelion-math04.png[]
[float]
[[mathematical-functions-add-labels]]
==== Customize and format the visualization
=== Customize and format the visualization
Customize and format the visualization using functions:
@ -262,7 +239,7 @@ image::images/timelion-math05.png[]
[float]
[[mathematical-functions-save-visualization]]
==== Save the visualization
=== Save the visualization
When you have finished making changes, save the visualization.
@ -272,11 +249,9 @@ When you have finished making changes, save the visualization.
. Click *Confirm Save*.
[[timelion-conditional]]
=== Create visualizations with conditional logic and tracking trends
++++
<titleabbrev>Conditional logic and tracking trends</titleabbrev>
++++
[float]
[[timelion-conditional-intro]]
== Create visualizations with conditional logic and tracking trends
To easily detect outliers and discover patterns over time, modify time series data with conditional logic and create a trend with a moving average.
@ -292,25 +267,13 @@ With Timelion conditional logic, you can use the following operator values to co
[float]
[[conditional-before-you-begin]]
==== 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-create]]
==== Create the visualization
Create the visualization using Timelion.
. Click *Visualize*.
. On the *Visualizations* page, click *Create new visualization*.
. On the *New Visualization* window, click *Timelion*.
[float]
[[conditional-define-functions]]
==== Define the functions
=== Define the functions
To chart the maximum value of `system.memory.actual.used.bytes`, enter the following in the *Timelion Expression* field:
@ -324,7 +287,7 @@ image::images/timelion-conditional01.png[]
[float]
[[conditional-track-memory]]
==== Track used memory
=== Track used memory
To track the amount of memory used, create two thresholds:
@ -341,7 +304,7 @@ image::images/timelion-conditional02.png[]
[float]
[[conditional-determine-trend]]
==== Determine the trend
=== Determine the trend
To determine the trend, create a new data series:
@ -357,7 +320,7 @@ image::images/timelion-conditional03.png[]
[float]
[[conditional-format-visualization]]
==== Customize and format the visualization
=== Customize and format the visualization
Customize and format the visualization using functions:
@ -377,7 +340,7 @@ image::images/timelion-conditional04.png[]
[float]
[[conditional-save-visualization]]
==== Save the visualization
=== Save the visualization
When you have finished making changes, save the visualization.