当前位置:网站首页>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 .
边栏推荐
- JDBC中如何添加事务
- 任务:拒绝服务DoS
- torch. nn. functional. Interpolate function
- 集合对象值改变NULL值对象
- H264编码profile & level控制
- 为什么一定要从DevOps走向BizDevOps?
- Oracle物理体系结构
- 商业智能BI开发和报表开发有什么本质区别?
- Learning records of building thingsboard, an Internet of things platform
- Introduction and installation of crunch, and making password dictionary with crunch
猜你喜欢
随机推荐
Ffmpeg audio related commands
对象的创建
新增订单如何防止重复提交
Uni app product classification
Collation of open source protocols of open source frameworks commonly used in Web Development
商业智能BI开发和报表开发有什么本质区别?
博途V16 获取系统时间转换成字符串
解决VSCode下载慢或下载失败的问题
自定义插入页面标签以及实现类似通讯录的首字母搜索
Instagram 为何从内容共享平台变成营销工具?独立站卖家如何利用该工具?
Collect Tiktok video
集合对象值改变NULL值对象
Brpc understanding
Why must we move from Devops to bizdevops?
How to configure webrtc video streaming format for easygbs, a new version of national standard gb28181 video platform?
Summary of SQL query de duplication statistics methods
Botu V16 obtains the system time and converts it into a string
New window open page -window open
axure不显示元件库
JVM内存模型








