linux下操作es及kibana的操作记录

背景:工作中后面开始用es和kibana了,为了方便后面的操作,特记录一下,好多命令实在是记不住了,😄

kibana的操作

1.查看所有的索引的命令

javascript 复制代码
GET /_cat/indices

2.创建索引的命令

javascript 复制代码
PUT /es_dsj_6c_jky_yunzhe_data_extraction
{
"mappings" : {
      "properties" : {
        "cost_time" : {
          "type" : "integer"
        },
        "data_type" : {
          "type" : "integer"
        },
        "end_time" : {
          "type" : "date",
          "format" : "yyyy-MM-dd HH:mm:ss"
        },
        "file_name" : {
          "type" : "text"
        },
        "flag" : {
          "type" : "integer"
        },
        "province_code" : {
          "type" : "integer"
        },
        "province_name" : {
          "type" : "keyword"
        },
        "start_time" : {
          "type" : "date",
          "format" : "yyyy-MM-dd HH:mm:ss"
        },
        "txt_num" : {
          "type" : "integer"
        },
        "txt_size" : {
          "type" : "float"
        }
      }
    }
    }

3.查看索引的命令

javascript 复制代码
GET /es_dsj_6c_jky_yunzhe_data_extraction/_search
相关推荐
开源量化GO5 分钟前
期货 K 线算信号 tick 级止损:天勤双序列 wait_update 触发规则
linux·运维·服务器·python
m0_738120726 分钟前
HVV应急溯源基础——Linux 系统安全加固配置指南(一)
linux·运维·服务器·安全·网络安全·系统安全
RisunJan13 分钟前
Linux命令-perl (perl语言解释器)
linux·perl
github_czy30 分钟前
更加优雅的类型检查与传参---mcp源码分析
java·服务器·开发语言
vortex51 小时前
Linux日志轮转管理:logrotate 完全指南
linux·运维·服务器
ggaofeng1 小时前
如何通过uboot加载硬盘
linux·qemu·uboot
尔染君子1 小时前
嵌入式Linux驱动开发(按键驱动)
linux·驱动开发
kebidaixu2 小时前
BCU 平台 Modbus 主机功能开发:液冷机组 & 消防传感器
linux
vsropy2 小时前
安装虚拟机VMware
linux·windows
Jason_chen2 小时前
Linux 3.0 串口机制深度解析:传统8250驱动与基础RS-232/485支持
linux·前端