当前位置:网站首页>ELK日志采集
ELK日志采集
2022-08-01 23:12:00 【YMY_666】
创建日志索引使文档按照时间字段datetime倒序排序
PUT http://ip:9200/索引名
{
"settings" : {
"number_of_shards": 1,
"number_of_replicas": 0 ,
"index" : {
"sort.field" : "time",
"sort.order" : "desc"
}
},
"mappings": {
"properties": {
"time": {
"type": "date"
}
}
}
}
边栏推荐
猜你喜欢

华为无线设备配置双链路冷备份(AP指定配置方式)

数据分析04

SRv6 L3VPN的工作原理
Background project Express-Mysql-Vue3-TS-Pinia page layout-sidebar menu
![[C language advanced] file operation (2)](/img/4d/49d9603aeed16f1600d69179477eb3.png)
[C language advanced] file operation (2)

The monthly salary of the test post is 5-9k, how to increase the salary to 25k?

How do programmers solve online problems gracefully?

ROS2初级知识(8):Launching启动多节点

xctf attack and defense world web master advanced area web2

PHP算法之电话号码的字母组合
随机推荐
qt-faststart 安装使用
数据库表设计规则
drf生成序列化类代码
Create virtual environments with virtualenv and Virtualenvwrapper virtual environment management tools
程序员如何优雅地解决线上问题?
Quarantine and downgrade
Jmeter是什么
How to better understand and do a good job?
2022/7/31
6133. Maximum number of packets
还在纠结报表工具的选型么?来看看这个
y84.第四章 Prometheus大厂监控体系及实战 -- prometheus告警机制进阶(十五)
加载字体时避免隐藏文本
Chapter 12 End-User Task As Shell Scripts
Getting started with IDEA is enough to read this article
【C补充】链表专题 - 单向链表
Always use "noopener" or "noreferrer" for links that open in a new tab
文件查询匹配神器 【glob.js】 实用教程
6133. 分组的最大数量
npm包【详解】(内含npm包的开发、发布、安装、更新、搜索、卸载、查看、版本号更新规则、package.json详解等)