Elasticsearch: Difference between revisions

From DWIKI
mNo edit summary
mNo edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=Links=
=Links=
=Documentation=
==Configuration==
*http://jprante.github.io/2012/11/28/Elasticsearch-Java-Virtual-Machine-settings-explained.html
*http://jprante.github.io/2012/11/28/Elasticsearch-Java-Virtual-Machine-settings-explained.html
==Heap==
*https://www.elastic.co/blog/a-heap-of-trouble
*https://www.elastic.co/blog/a-heap-of-trouble
==Garbage collection==
*[https://docs.oracle.com/cd/E13150_01/jrockit_jvm/jrockit/geninfo/diagnos/garbage_collect.html Garbage collect]
*[https://sematext.com/blog/java-garbage-collection/#how-does-java-garbage-collection-work Garbage collection]
=Monitoring elasticsearch=
=Monitoring elasticsearch=
== Things to monitor ==
=== heap size ===
*node jvm.mem.heap_used_percent
=== garbage collection ===
Something like
node.jvm.uptime_in_millis/node.jvm.gc.collectors.young.collection_count
*[https://www.datadoghq.com/blog/monitor-elasticsearch-performance-metrics/ How to monitor Elasticsearch performance]
*[https://www.datadoghq.com/blog/monitor-elasticsearch-performance-metrics/ How to monitor Elasticsearch performance]
*[https://sematext.com/blog/top-10-elasticsearch-metrics-to-watch/ Top 10 Elasticsearch Metrics to Monitor]
*[https://sematext.com/blog/top-10-elasticsearch-metrics-to-watch/ Top 10 Elasticsearch Metrics to Monitor]
*[https://www.datadoghq.com/blog/monitor-elasticsearch-performance-metrics/#key-elasticsearch-performance-metrics-to-monitor Performance metrics to monitor]
*[https://www.datadoghq.com/blog/monitor-elasticsearch-performance-metrics/#key-elasticsearch-performance-metrics-to-monitor Performance metrics to monitor]
*[https://opster.com/guides/elasticsearch/capacity-planning/elasticsearch-heap-size-usage/ Heap Size Usage]
*[https://opster.com/guides/elasticsearch/capacity-planning/elasticsearch-heap-size-usage/ Heap Size Usage]
==Query the web interface==
*'cluster': 'http://localhost:9200/_cluster/stats',
*    'nodes'  : 'http://localhost:9200/_nodes/stats',
*    'indices': 'http://localhost:9200/_stats',
*    'health' : 'http://localhost:9200/_cluster/health'


=Installing Elasticsearch=
=Installing Elasticsearch=
==On Debian==
==On Debian==
  deb https://artifacts.elastic.co/packages/oss-6.x/apt stable main
  deb https://artifacts.elastic.co/packages/oss-6.x/apt stable main
packages is called elasticsearch-oss now?


=Terminology=
=Terminology=
Line 18: Line 44:
==Percolation==
==Percolation==
https://spinscale.de/posts/2021-09-15-understanding-elasticsearch-percolate-query.html
https://spinscale.de/posts/2021-09-15-understanding-elasticsearch-percolate-query.html
=FAQ=
==Status is yellow==
*[http://chrissimpson.co.uk/elasticsearch-yellow-cluster-status-explained.html Yellow cluster status explained]
and look for [https://www.datadoghq.com/blog/elasticsearch-unassigned-shards/ unassigned shards]

Latest revision as of 15:53, 20 February 2023