当前位置:网站首页>Time series analysis using kibana timelion
Time series analysis using kibana timelion
2022-07-01 19:41:00 【51CTO】
Concept
First understand > A concept : What is year-on-year and month on month ?
Year on year and month on month :
(1) Year on year : Compare this period with the same period .
(2) Chain ratio : Compare this period with the previous period .
To put it simply , Year on year and month on month are used to indicate the direction and degree of development and change of something during the comparison period .
Year on year : It usually refers to the... Of this year n Month and the... Of last year n Monthly ratio . The year-on-year growth rate is mainly to eliminate the impact of seasonal changes , It is used to explain the relative development speed achieved by comparing the development level of this period with that of the same period last year . It is often used to analyze the long-term trend of data .
Chain ratio : It usually means continuous 2 One unit period ( Like two months in a row ) The change of the quantity in is more than . The chain comparison includes two types : Month on month growth rate and month on month development rate . It is often used to analyze the short-term trend of data .
Comparison of two adjacent same time periods in the statistical cycle ( for example 6 The month and 7 Month comparison ,8 The month and 9 Month comparison )---- Chain ratio , The same location time period between multiple statistical cycles ( Every day at noon 12 spot )---- Year on year
What's the difference between the two ?
(1) The month on month comparison is generally used for 、 Days are seldom used for years , It is mainly to compare the degree of increase in a very short time , However, due to industry differences , Such as tourism , It will be affected by the low and peak seasons .
(2) Year on year is generally used in the next two years , In the same period of time , View the increase degree , It is usually used in the same month of two years , Rarely used on the same date in two months .
Example 1:
for example , last year 6 month , Xiao Wang lacks exercise because of the epidemic and often stays at home to eat potato chips , As a result, the weight soared to 100 kg , This year, , In order to maintain his sunny image , Start exercising , As of this year 6 month , Xiao Wang's weight fell to 80 kg . Due to the development of the company's business , Xiao Wang works overtime and stays up late every day , To 7 The weight will be left in August 60 kg . So at this point , We can say that Xiao Wang's weight fell year-on-year 40%, It's down on a month on month basis 25%. Year on year :(100-60)/100; Chain ratio :(80-60)/80
2021 6 month 100kg
2022 6 month 80kg
2022 7 month 60kg
(100-60)/100 Year-on-year decline in 40%,(80-60)/80 fell 25%
Example 2:
Another example is ,2020 Total per capita income 2 Ten thousand yuan ,2019 Total per capita income 1 Ten thousand yuan , It can be expressed as 2020 Annual per capita income increased year on year 1 Ten thousand yuan , although 2020 and 2019 Are two adjacent time periods of equal length , But for two statistical cycles , Not month on month . First, determine the statistical period , Comparison of two adjacent same time periods in the statistical cycle ---- Chain ratio , The same location time period between multiple statistical cycles ---- Year on year
2020 2w
2019 1w
Conclusion :
2020 Year-on-year growth 1w
After knowing the concept of year-on-year and month on month comparison, you can continue to look down
What is? Kibana Timelion?
Timelion yes Kibana Visualization tool of time series in . Time series visualization is the visualization of analyzing data in time order .Timelion It can be used to draw two-dimensional graphics , Time is plotted on x On the shaft .
What are the advantages over using only ordinary bars or line visualization ?Timelion Took a different approach . You don't need to use a visual editor to create charts , But by using timelion Specific syntax links functions together to define graphics . this sytnax Some functions not provided by classic point series charts are enabled - For example, draw data from different indexes or data sources into a chart .
timelion You can aggregate data from completely independent and completely different data sources , Blend into the same picture , Make some presentation and analysis .(kibana Generally, it only shows es One of the index Of )
Some of the following questions are kibana Can't handle , and timelion Tolerable :
- Look at the daily crawling volume this month and the daily crawling volume last month in a picture
- Cumulative sum of crawling quantity this month
- Compared with the crawling volume last month , The growth rate this month
- Show the stock 30 Average distribution chart
- …
Timelion expression
timelion Expression with . start , A bunch of parameters will follow in the middle .timelion Expressions support chained calls , Such as es(q=site:yd).lable(yd)
You can also draw multiple curves in a graph , To compare , Separate with commas . This blog mainly records some common methods and their parameters .
边栏推荐
- How to solve the problem of splash screen when the main and sub code streams of easygbs are h.265?
- 对象的创建
- 下载(导出)pdf模板文件(比如:审批单),报错:Invalid nested tag *** found, expected closing tag ***
- uni-app商品分类
- XML syntax, constraints
- Flutter 实战-快速实现音视频通话应用
- 奔赴山海之前,毕业季一定要做的那些事情
- Ffmpeg error code
- Mysql查询结果去除换行
- Actual combat of flutter - fast implementation of audio and video call application
猜你喜欢

奔赴山海之前,毕业季一定要做的那些事情

P2433 【深基1-2】小学数学 N 合一

A brief understanding of white box encryption technology

Shell高级进阶

EasyGBS主子码流都为H.265时,切换出现花屏如何解决?

Instagram 为何从内容共享平台变成营销工具?独立站卖家如何利用该工具?

精耕渠道共謀發展 福昕攜手偉仕佳傑開展新產品培訓大會

Axure does not display catalogs
![pickle. Load error [attributeerror: can't get attribute 'volatile' on < module '\u main']](/img/98/c4df0747856eda262b82942eedad8f.png)
pickle. Load error [attributeerror: can't get attribute 'volatile' on < module '\u main']

大厂音视频职位面试题目--今日头条
随机推荐
Dom4j parsing XML, XPath retrieving XML
对象的创建
集合对象值改变NULL值对象
Collect Tiktok video
【org.slf4j.Logger中info()方法】
pickle. Load error [attributeerror: can't get attribute 'volatile' on < module '\u main']
如何正确使用Vertx操作Redis(3.9.4带源码分析)
A brief understanding of white box encryption technology
任务:拒绝服务DoS
IPv4 address, subnet mask, gateway
How to solve the problem of splash screen when the main and sub code streams of easygbs are h.265?
EasyGBS网络不稳定情况下重复请求视频拉流问题的优化
uni-app微信小程序一键登录获取权限功能
optaplanner学习笔记(一)案例Cloud balance
uni-app商品分类
Proxy in ES6
After studying 11 kinds of real-time chat software, I found that they all have these functions
Werewolf killing strategy: do you think I'm easy to cheat? Who do we believe!
703. The k-th element in the data flow
【无标题】