当前位置: 首页 > article >正文

ElasticSearch之cat anomaly detectors API

curl -X GET "https://localhost:9200/_cat/ml/anomaly_detectors?v=true&pretty" --cacert $ES_HOME/config/certs/http_ca.crt -u "elastic:ohCxPH=QBE+s5=*lo7F9"

执行结果输出如下:

curl -X GET "https://localhost:9200/_cat/ml/anomaly_detectors?v=true&pretty" --cacert $ES_HOME/config/certs/http_ca.crt -u "elastic:ohCxPH=QBE+s5=*lo7F9"
id state data.processed_records model.bytes model.memory_status forecasts.total buckets.count

查看帮助,命令如下:

curl -X GET "https://localhost:9200/_cat/ml/anomaly_detectors?v=true&help=true&pretty" --cacert $ES_HOME/config/certs/http_ca.crt -u "elastic:ohCxPH=QBE+s5=*lo7F9"

执行结果输出如下:

id                               |                                    | the job_id
state                            | s                                  | the job state
opened_time                      | ot                                 | the amount of time the job has been opened
assignment_explanation           | ae                                 | why the job is or is not assigned to a node
data.processed_records           | dpr,dataProcessedRecords           | number of processed records
data.processed_fields            | dpf,dataProcessedFields            | number of processed fields
data.input_bytes                 | dib,dataInputBytes                 | total input bytes
data.input_records               | dir,dataInputRecords               | total record count
data.input_fields                | dif,dataInputFields                | total field count
data.invalid_dates               | did,dataInvalidDates               | number of records with invalid dates
data.missing_fields              | dmf,dataMissingFields              | number of records with missing fields
data.out_of_order_timestamps     | doot,dataOutOfOrderTimestamps      | number of records handled out of order
data.empty_buckets               | deb,dataEmptyBuckets               | number of empty buckets
data.sparse_buckets              | dsb,dataSparseBuckets              | number of sparse buckets
data.buckets                     | db,dataBuckets                     | total bucket count
data.earliest_record             | der,dataEarliestRecord             | earliest record time
data.latest_record               | dlr,dataLatestRecord               | latest record time
data.last                        | dl,dataLast                        | last time data was seen
data.last_empty_bucket           | dleb,dataLastEmptyBucket           | last time an empty bucket occurred
data.last_sparse_bucket          | dlsb,dataLastSparseBucket          | last time a sparse bucket occurred
model.bytes                      | mb,modelBytes                      | model size
model.memory_status              | mms,modelMemoryStatus              | current memory status
model.bytes_exceeded             | mbe,modelBytesExceeded             | how much the model has exceeded the limit
model.memory_limit               | mml,modelMemoryLimit               | model memory limit
model.by_fields                  | mbf,modelByFields                  | count of 'by' fields
model.over_fields                | mof,modelOverFields                | count of 'over' fields
model.partition_fields           | mpf,modelPartitionFields           | count of 'partition' fields
model.bucket_allocation_failures | mbaf,modelBucketAllocationFailures | number of bucket allocation failures
model.categorization_status      | mcs,modelCategorizationStatus      | current categorization status
model.categorized_doc_count      | mcdc,modelCategorizedDocCount      | count of categorized documents
model.total_category_count       | mtcc,modelTotalCategoryCount       | count of categories
model.frequent_category_count    | mfcc,modelFrequentCategoryCount    | count of frequent categories
model.rare_category_count        | mrcc,modelRareCategoryCount        | count of rare categories
model.dead_category_count        | mdcc,modelDeadCategoryCount        | count of dead categories
model.failed_category_count      | mfcc,modelFailedCategoryCount      | count of failed categories
model.log_time                   | mlt,modelLogTime                   | when the model stats were gathered
model.timestamp                  | mt,modelTimestamp                  | the time of the last record when the model stats were gathered
forecasts.total                  | ft,forecastsTotal                  | total number of forecasts
forecasts.memory.min             | fmmin,forecastsMemoryMin           | minimum memory used by forecasts
forecasts.memory.max             | fmmax,forecastsMemoryMax           | maximum memory used by forecasts
forecasts.memory.avg             | fmavg,forecastsMemoryAvg           | average memory used by forecasts
forecasts.memory.total           | fmt,forecastsMemoryTotal           | total memory used by all forecasts
forecasts.records.min            | frmin,forecastsRecordsMin          | minimum record count for forecasts
forecasts.records.max            | frmax,forecastsRecordsMax          | maximum record count for forecasts
forecasts.records.avg            | fravg,forecastsRecordsAvg          | average record count for forecasts
forecasts.records.total          | frt,forecastsRecordsTotal          | total record count for all forecasts
forecasts.time.min               | ftmin,forecastsTimeMin             | minimum runtime for forecasts
forecasts.time.max               | ftmax,forecastsTimeMax             | maximum run time for forecasts
forecasts.time.avg               | ftavg,forecastsTimeAvg             | average runtime for all forecasts (milliseconds)
forecasts.time.total             | ftt,forecastsTimeTotal             | total runtime for all forecasts
node.id                          | ni,nodeId                          | id of the assigned node
node.name                        | nn,nodeName                        | name of the assigned node
node.ephemeral_id                | ne,nodeEphemeralId                 | ephemeral id of the assigned node
node.address                     | na,nodeAddress                     | network address of the assigned node
buckets.count                    | bc,bucketsCount                    | bucket count
buckets.time.total               | btt,bucketsTimeTotal               | total bucket processing time
buckets.time.min                 | btmin,bucketsTimeMin               | minimum bucket processing time
buckets.time.max                 | btmax,bucketsTimeMax               | maximum bucket processing time
buckets.time.exp_avg             | btea,bucketsTimeExpAvg             | exponential average bucket processing time (milliseconds)
buckets.time.exp_avg_hour        | bteah,bucketsTimeExpAvgHour        | exponential average bucket processing time by hour (milliseconds)

相关资料

  • cat anomaly detectors API
  • Post data to jobs API
  • API conventions
  • HTTP accept header

http://www.kler.cn/a/147063.html

相关文章:

  • FPGA开发-逻辑分析仪的应用-数字频率计的设计
  • 第 17 章 - Go语言 上下文( Context )
  • QT使用libssh2库实现sftp文件传输
  • vue3 如何调用第三方npm包内部的 pinia 状态管理库方法
  • 基于Python空气质量可视化及预测
  • 深度学习--卷积神经网络
  • nodejs+vue+elementui足球篮球联赛系统
  • 【C++】POCO学习总结(六):线程、线程池、同步
  • iview table 默认排序字段不高亮解决办法
  • Elasticsearch:什么是非结构化数据?
  • css实现图片绕中心旋转,鼠标悬浮按钮炫酷展示
  • android 9 adb安装过程学习(三)
  • TS 函数及多态
  • Windows10-用户账户控制、Windows远程桌面
  • 解决:前端js下载文件流出现“未知文件格式”错误
  • C语言重点编程题——11-20
  • Android 编译系统AIDL模块couldn‘t find import for class错误
  • leetcode42接雨水问题
  • Javascript每天一道算法题(十八)——矩阵置零-中等
  • 带你用uniapp从零开发一个仿小米商场_10. 首页开发
  • MATLAB算法实战应用案例精讲-【图像处理】图像增强
  • go 在使用Elasticsearch 聚合查询时 如何设置使用中国时区
  • C语言第三十五弹---打印九九乘法表
  • 【JMeter】不同场景下的接口请求
  • Sass基础知识详细讲解【附带表图】
  • ubuntu22.04 安装 jupyterlab