技术与更多 2019-11-08
curl -XGET ‘http://10.60.113.227:9200/_cat/indices?v‘ |grep wtclientcheck
curl -XDELETE ‘http://10.60.113.227:9200/wtclientcheck-20191105‘
curl -XGET ‘http://10.60.113.227:9200/_template/tmp_wtclientcheck‘
curl -XPUT http://10.60.113.227:9200/_template/tmp_wtclientcheck --data-binary @wtclientcheck.template.json -H "Content-Type:application/json"
curl -XGET ‘http://10.60.113.227:9200/pms-request-log/_mapping/doc‘
curl -XPUT -H ‘Content-Type: application/json‘ ‘http://10.60.113.227:9200/pms-request-log/_mapping/doc‘ -d‘{"properties":{"kernelver":{"type":"keyword","ignore_above":1024}}}‘
三、总结
通过初步学习,ELK架构类似SPLUNK