当前位置:网站首页>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 .
边栏推荐
- 2022/5/23-2022/5/30
- Optimization of video streaming with repeated requests in the case of unstable easygbs network
- Instagram 为何从内容共享平台变成营销工具?独立站卖家如何利用该工具?
- Solidity - truncated and checked modes of arithmetic operations - new features of 0.8.0
- 下载(导出)pdf模板文件(比如:审批单),报错:Invalid nested tag *** found, expected closing tag ***
- Werewolf killing strategy: do you think I'm easy to cheat? Who do we believe!
- 正则表达式=Regex=regular expression
- Regular expression =regex=regular expression
- AAAI2020: Real-time Scene Text Detection with Differentiable Binarization
- Interview questions for audio and video positions in Dachang -- today's headline
猜你喜欢
Task: denial of service DOS
Native JS creates a calendar - supports mouse wheel scrolling to select months - and can be ported to any framework
DTD modeling
Parallelism, concurrency and life cycle of threads
商业智能BI开发和报表开发有什么本质区别?
Actual combat of flutter - fast implementation of audio and video call application
118. Yanghui triangle
新版国标GB28181视频平台EasyGBS如何配置WebRTC视频流格式播放?
Shell高级进阶
uni-app商品分类
随机推荐
Basic use of MySQL
Simplified pinduoduo product data
微信小程序 navigator点击后有阴影 ,去掉navigator阴影效果
How to configure webrtc video streaming format for easygbs, a new version of national standard gb28181 video platform?
703. 数据流中的第 K 大元素
H264编码profile & level控制
JDBC中如何添加事务
原生js打造日程表-支持鼠标滚轮滚动选择月份-可以移植到任何框架中
brpc理解
采集抖音视频
产品模块化设计的前世今生
118. Yanghui triangle
Download (export) PDF template file (such as approval form), and report error: invalid nested tag * * * found, expected closing tag***
1592 例题1 国王(Sgu223 LOJ10170 LUOGU1896 提高+/省选-) 暴力思考 状压DP 01背包
uni-app商品分类
Live HLS protocol
Regular expression =regex=regular expression
Facebook聊单,SaleSmartly有妙招!
使用 Kibana Timelion 进行时间序列分析
DTD modeling