elasticsearch learning record

1, view directory and file size

you -sh ./*

 

2, elasticsearch operation through RESTful API documentation

curl -X GET -i 'http://admin:[email protected]:9200/syhuo/view_app_downloads/506310'

 

3, view elasticsearch data and log storage path

[root@VM_58_118_centos ~]# cat /etc/elasticsearch/elasticsearch.yml |grep path.data
 path.data: /data/elasticsearch/data
[root@VM_58_118_centos ~]# cat /etc/elasticsearch/elasticsearch.yml |grep path.logs
 path.logs: /data/elasticsearch/logs
[root@VM_58_118_centos ~]#

 

Guess you like

Origin www.cnblogs.com/hnhycnlc888/p/11742081.html