查询、打开、关闭索引 elk日志系统
curl -XGET 'localhost:9200/_all?pretty'
curl -XPOST 'localhost:9200/utclog-2017.11.20/_open?pretty'
curl -XPOST 'localhost:9200/utclog-2017.11.20/_close?pretty'
curl -XPOST 'localhost:9200/_all/_close?pretty'
curl -XGET 'localhost:9200/_all?pretty'
curl -XPOST 'localhost:9200/utclog-2017.11.20/_open?pretty'
curl -XPOST 'localhost:9200/utclog-2017.11.20/_close?pretty'
curl -XPOST 'localhost:9200/_all/_close?pretty'