当前位置:网站首页>Use KUSTO query statement (KQL) to query LOG on Azure Data Explorer Database
Use KUSTO query statement (KQL) to query LOG on Azure Data Explorer Database
2022-08-05 10:24:00 【zyypjc】
目录
(一)前言
Recently, the company will usually store one inAzurein a managed instanceAudit_logThe entire table is migrated toAzure Data Explorer Database来存储.So in this article, I will first summarizeAzure Data Explorer Database的基本概念,Then I will try to illustrate it with a simple example.
(二)Azure Data Explorer介绍及应用
Companies are generating and storing vast amounts of data every day. This data can be unstructured(例如音频,视频),半结构化的(例如XML,JSON)或结构化的(例如数字,日期,字符串). Data professionals are always looking for efficient techniques to process large volumes of disparate data. Although we can certainly use a traditional data warehouse,Hadoop,Sparkand other analytical tools to do this,But before exploring and analyzing the data,This will involveTB级和PBlevel dataETL的常规方法.所以,A platform is desperately needed,The platform will enable users to rapidly leverage and analyze various raw data,And ingest data quickly and get the best performance. Let's solve this situation with an interesting data analysis service.
1. 什么是Azure Data Explorer?
AzureData Browser akaADX,is used for logging,Fast telemetry and streaming data,Highly scalable and fully managed data analytics service. Browse services through this data,You can aggregate,Store and analyze various data. You can query the number in secondsTB的数据,It allows fast ad hoc queries on all kinds of data.
在Azure Data ExplorerThe tools above were formerly known as “代号为Kusto”,使用类似SQLThe query language of ieKusto查询语言(KQL)来分析来自IoT设备,应用程序,Fast-moving data for websites, etc.KQLNot limited to using functions and hundreds of operators such as aggregation,过滤等,It also includes built-in machine learning capabilities,例如聚类,回归等.
ADX使用SSDStore as cache andAzure BlobPersistent storage in storage,Works on the principle of isolation between compute and storage. It is fully managed“平台即服务(PaaS)”,Make users focus only on their data and queries. 为了说明ADX的主要优势之一,The next advantage is highlighted here,即时间序列分析:它
非常方便,And provides a lot of functions to analyze,Identify trends and anomalies.
2. 实战案例
(1)案例背景
Query the user of a key system of the companyAudit_log,and import logs(CSV)
(2)进入Azure Data Explorer主页面
(3)点击Query
点击后,See it on the rightKQLThe entered query area,You can edit the query in it
同时,In the middle area, you can view the objects you want to query just like selecting the database and the tables under the database
(4)输入查询的KQL
如下KQLThe purpose is to pull outAuditLogs表的前10000行
AuditLogs
| take 10000
(5)导出功能
Right-click in the query results area,See the list of export functions
边栏推荐
- 攻防世界-PWN-new_easypwn
- Our Web3 Entrepreneurship Project, Yellow
- 阿里全新推出:微服务突击手册,把所有操作都写出来了PDF
- FPGA: Basic Getting Started LED Lights Blinking
- Four years of weight loss record
- 【AGC】增长服务1-远程配置示例
- Complete image segmentation efficiently based on MindSpore and realize Dice!
- 高质量 DeFi 应用构建指南,助力开发者玩转 DeFi Summer
- js hijacks the array push method
- FPGA: Basic Getting Started Button Controlling LED Lights
猜你喜欢
Introduction to SD NAND Flash!
The founder of the DFINITY Foundation talks about the ups and downs of the bear market, and where should DeFi projects go?
百年北欧奢华家电品牌ASKO智能三温区酒柜臻献七夕,共品珍馐爱意
什么是 DevOps?看这一篇就够了!
three物体围绕一周呈球形排列
登录功能和退出功能(瑞吉外卖)
Egg framework usage (2)
E-sports, convenience, efficiency, security, key words for OriginOS functions
用KUSTO查询语句(KQL)在Azure Data Explorer Database上查询LOG实战
012_SSS_ Improving Diffusion Model Efficiency Through Patching
随机推荐
The fuse: OAuth 2.0 four authorized login methods must read
2022 Huashu Cup Mathematical Modeling Ideas Analysis and Exchange
How can project cost control help project success?
数据中台建设(十):数据安全管理
第四章:redis 数组结构的set和一些通用命令「建议收藏」
Microcontroller: temperature control DS18B20
js劫持数组push方法
FPGA:基础入门按键控制LED灯
Development common manual link sharing
第四章:activiti流程中,变量的传递和获取流程变量 ,设置和获取多个流程变量,设置和获取局部流程变量「建议收藏」
hcip BGP enhancement experiment
Go compilation principle series 6 (type checking)
Ali's new launch: Microservices Assault Manual, all operations are written out in PDF
uniapp 连接ibeacon
IDEA performs the Test operation, resulting in duplicate data when data is inserted
浅析WSGI协议
入门 Polkadot 平行链开发,看这一篇就够了
基于MindSpore高效完成图像分割,实现Dice!
What are the standards for electrical engineering
机器学习-基础知识 - Precision, Recall, Sensitivity, Specificity, Accuracy, FNR, FPR, TPR, TNR, F1 Score, Bal