This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sh-4.2$ es_util --query=_prometheus/metrics | |
# HELP es_indices_percolate_count Count of percolates | |
# TYPE es_indices_percolate_count counter | |
es_indices_percolate_count{cluster="logging-es",node="logging-es-data-master-f5trnjwj",nodeId="q5KN3f6TQnGMlwAhH9wbjQ",} 0.0 | |
# HELP es_transport_rx_bytes_count Bytes received | |
# TYPE es_transport_rx_bytes_count counter | |
es_transport_rx_bytes_count{cluster="logging-es",node="logging-es-data-master-f5trnjwj",nodeId="q5KN3f6TQnGMlwAhH9wbjQ",} 19695.0 | |
# HELP es_script_compilations_count Number of scripts compilations | |
# TYPE es_script_compilations_count counter | |
es_script_compilations_count{cluster="logging-es",node="logging-es-data-master-f5trnjwj",nodeId="q5KN3f6TQnGMlwAhH9wbjQ",} 0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Before logging is deployed into AWS, this is a way how to make sure there won't be any python(2) libray conflicts. | |
1) Make sure there is no Python2 on my machine at all | |
``` | |
pip freeze | sudo xargs pip uninstall -y | |
sudo dnf remove -y python2-libs | |
sudo dnf list --installed | grep python2 | |
sudo rm -rf /lib/python2 | |
sudo dnf clean all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ uname -a | |
Darwin Lukass-MacBook-Pro.local 15.6.0 Darwin Kernel Version 15.6.0: Mon Aug 29 20:21:34 PDT 2016; root:xnu-3248.60.11~1/RELEASE_X86_64 x86_64 | |
$ java -version | |
java version "1.8.0_65" | |
Java(TM) SE Runtime Environment (build 1.8.0_65-b17) | |
Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode) | |
$ mvn -version | |
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## This works: | |
curl -X GET 'localhost:9200/_search/template' -d '{ | |
"template" : "{ \"size\": \"{{size}}\", \"query\":{\"match_all\":{}}}", | |
"params":{ | |
"size":1, | |
"use_size": false | |
} | |
}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Trying to follow | |
// https://github.com/angular/di.js#transpiling-es6 | |
[lukas di.js]$ sudo npm install -g gulp | |
Password: | |
/usr/local/bin/gulp -> /usr/local/lib/node_modules/gulp/bin/gulp.js | |
gulp@3.8.5 /usr/local/lib/node_modules/gulp | |
├── tildify@0.2.0 | |
├── interpret@0.3.4 | |
├── pretty-hrtime@0.2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"sys_title":"Have Your Cake and Eat It Too : Forge Tools", | |
# "sys_content_id":"23585936", # taken from URL | |
# "sys_content":null, # omit if empty | |
"sys_description":"We are currently working on the integration of Forge in JBoss Tools.", | |
"sys_url_view":"http://http://localhost:4242/video/vimeo/23585936", | |
# "sys_content_type":"video/vimeo", # taken from URL, in this case 'jbossdeveloper_video' | |
"sys_type":"jbossdeveloper_video", | |
# "sys_content_provider":"jboss-developer", # derived from credentials (http basic auth) | |
"author":{"display_name":"Koen Aers","id":"6802538","role":"","username":"user6802538"}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo "Elasticsearch version and build:" | |
curl localhost:9200; echo; echo; | |
echo "Delete index" | |
curl -X DELETE 'localhost:9200/i'; echo; echo; | |
echo "Create index with analysis and mappings" | |
curl -X PUT 'localhost:9200/i' -d '{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo "Elasticsearch version and build:" | |
curl localhost:9200; echo; echo; | |
echo "Delete index" | |
curl -X DELETE 'localhost:9200/i'; echo; echo; | |
echo "Create index with analysis and mappings" | |
curl -X PUT 'localhost:9200/i' -d '{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo "Elasticsearch version" | |
curl localhost:9200; echo; echo; | |
echo "Delete index"; curl -X DELETE 'localhost:9200/i'; echo; echo; | |
echo "Create index with analysis and mappings"; curl -X PUT 'localhost:9200/i' -d '{ | |
"settings" : { | |
"analysis" : { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 | |
čupnout/JTN | |
čupnutí/SN | |
čupnutý/YRN | |
čupět/AN | |
čupění/SN | |
čupící/YN | |
zavazející/YN | |
zavazet/AJTN | |
zavazení/SN |