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
相关推荐
一技安身21 分钟前
VMware Workstation 25H2 创建兼容ESXi8.0虚拟机教程
服务器
硅基手札27 分钟前
【Linux 内核专栏 13】快IO层
linux·服务器·嵌入式硬件
嵌入式分享39 分钟前
嵌入式分享#63:RK3588 怎么选?全系列选型指南
linux
Pointer Pursuit1 小时前
Linux调试器 ——gdb/cgdb
linux·运维·服务器
IanSkunk1 小时前
从检查设备到训练方案:眼科与视光中心设备联动的数据通路、字段口径与校验规则
服务器·数据库·负载均衡
chenlance1 小时前
PADS灌铜、覆铜过程和技巧小汇总
linux·服务器·网络
xixiaoyunya1 小时前
服务器自动备份怎么做:十几分钟搭建一套稳定可监控的方案
运维·服务器
HideF1 小时前
【无标题】
linux
高山有多高1 小时前
【Linux笔记】NAT与内网穿透
linux
迷途之人不知返2 小时前
自主实现一个简单的shell命令行
linux