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
相关推荐
ldq_sd15 分钟前
Django 创建CSV文件
服务器·django
头发尚存的猿小二1 小时前
Linux--文件系统
linux·运维·服务器
易保山1 小时前
MIT6.S081 - Lab7 Multithreading(进程调度)
linux·操作系统·c
杨凯凡1 小时前
Linux入门指南:从零开始探索开源世界
linux
程序辕日记2 小时前
使用SQL查询ES数据
sql·elasticsearch·jenkins
逆风局?2 小时前
计算机网络——IP地址
服务器·网络·tcp/ip
Liuzhengyue_3 小时前
Linux shell脚本编程
linux·运维·服务器
啥都不懂的小小白3 小时前
Elasticsearch入门指南(三) 之 高级篇
大数据·elasticsearch·jenkins
qq_5470261793 小时前
Elasticsearch 集群搭建
大数据·elasticsearch·搜索引擎
babytiger3 小时前
在 VMware 中为 Ubuntu 24.04 虚拟机设置共享文件夹后,在虚拟机中未能看到共享的内容
linux·运维·ubuntu