Open heidsoft opened 5 years ago
➜ logstash-6.6.0 bin/logstash-plugin install logstash-input-beats Validating logstash-input-beats Installing logstash-input-beats Installation successful ➜ logstash-6.6.0 bin/logstash-plugin install logstash-codec-rubydebug Validating logstash-codec-rubydebug Installing logstash-codec-rubydebug Installation successful
es深度分页机制
索引性能技巧 超详细的Elasticsearch高性能优化实践 一次ES优化过程 Can I configure my Linux system for more aggressive file system caching? 预加载数据到文件系统缓存 Elasticsearch from the Top Down Elasticsearch写入索引数据的过程 以及优化写入过程 Anatomy of an Elasticsearch Cluster: Part I On ElasticSearch performance The Authoritative Guide to Elasticsearch Search Tuning (Part 3) https://dzone.com/articles/elasticsearch-performance-tuning
curl -X PUT "localhost:9200/test" -H 'Content-Type: application/json' -d'
{
"settings" : {
"index" : {
"number_of_shards" : 1,
"number_of_replicas" : 0
}
},
"mappings": {
"_doc":{
"properties": {
"title": { "type": "text" },
"name": { "type": "text" },
"age": { "type": "integer" },
"created": {
"type": "date",
"format": "strict_date_optional_time||epoch_millis"
}
}
}
}
}
'
curl -X PUT "localhost:9200/test/_mapping/_doc" -H 'Content-Type: application/json' -d'
{
"properties": {
"title": { "type": "text" },
"name": { "type": "text" },
"age": { "type": "integer" },
"created": {
"type": "date",
"format": "strict_date_optional_time||epoch_millis"
}
}
}
'
查看索引
➜ elasticsearch-7.8.1
分片状态查看
ELK实现日志监控告警
https://www.ctolib.com/docs/sfile/ELKstack-guide-cn/elasticsearch/other/elastalert.html https://anjia0532.github.io/2017/02/14/elasticsearch-elastalert/ https://media.readthedocs.org/pdf/elastalert/latest/elastalert.pdf https://anjia0532.github.io/2017/02/14/elasticsearch-elastalert/ https://blog.51cto.com/seekerwolf/2121070 https://www.ctolib.com/docs/sfile/ELKstack-guide-cn/elasticsearch/other/elastalert.html https://www.elastic.co/guide/en/beats/filebeat/5.0/configuration-filebeat-options.html