elasticsearch.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 10 Feb 2018 01:28:53 +0200
changeset 2227 1e9323e7ec88
parent 2223 c50753af1f09
child 2239 a7449247c914
permissions -rw-r--r--
Removed files: I don't longer have interest on topic.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2199
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     1
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     2
===============
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     3
 elasticsearch
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     4
===============
2203
c9cc487f54a3 Kibana plugins.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2202
diff changeset
     5
.. contents::
c9cc487f54a3 Kibana plugins.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2202
diff changeset
     6
   :local:
2199
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     7
2206
e765d2924785 Tune for disk usage.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2203
diff changeset
     8
Elasticsearch documentation
e765d2924785 Tune for disk usage.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2203
diff changeset
     9
===========================
e765d2924785 Tune for disk usage.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2203
diff changeset
    10
e765d2924785 Tune for disk usage.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2203
diff changeset
    11
https://amsterdam.luminis.eu/2016/10/18/elasticsearch-5-is-coming-what-is-new-and-improved/
e765d2924785 Tune for disk usage.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2203
diff changeset
    12
  New features of ES 5.
e765d2924785 Tune for disk usage.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2203
diff changeset
    13
2199
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    14
REST syntax conventions
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    15
=======================
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    16
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    17
To get data in table form use ``/_cat`` endpoint::
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    18
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    19
  GET /_cat/nodes
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    20
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    21
To pretty print output append query::
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    22
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    23
  ?pretty=1
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    24
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    25
Get base information
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    26
====================
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    27
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    28
Cluster health::
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    29
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    30
  GET /_cat/health?v
2202
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    31
  GET /_cluster/health?pretty
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    32
  GET /_cluster/health?pretty&level=cluster
2199
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    33
2202
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    34
List of nodes in cluster (ip, RAM, CPU)::
2199
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    35
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    36
  GET /_cat/nodes?v
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    37
  GET /_cat/master?v
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    38
2202
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    39
List cluster state::
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    40
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    41
  GET /_cluster/state?pretty
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    42
2207
5085ac83075b List of tasks executed in cluster.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2206
diff changeset
    43
List of tasks executed in cluster::
5085ac83075b List of tasks executed in cluster.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2206
diff changeset
    44
5085ac83075b List of tasks executed in cluster.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2206
diff changeset
    45
  GET /_cat/tasks?v
5085ac83075b List of tasks executed in cluster.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2206
diff changeset
    46
  GET /_cat/tasks?detailed
5085ac83075b List of tasks executed in cluster.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2206
diff changeset
    47
  GET _tasks
5085ac83075b List of tasks executed in cluster.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2206
diff changeset
    48
2202
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    49
List of indexes (status, health, size)::
2199
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    50
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    51
  GET /_cat/indices
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    52
  GET /_cat/indices?v
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    53
  GET /_cat/indices?v&s=index
2202
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    54
  GET /_cluster/health?pretty&level=indices
2199
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    55
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    56
List of mappings across all indexes::
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    57
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    58
  GET /_mapping
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    59
  GET /_all/_mapping
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    60
2202
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    61
List of shards::
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    62
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    63
  GET /_cluster/health?pretty&level=shards
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    64
2199
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    65
https://www.elastic.co/guide/en/elasticsearch/reference/current/_cluster_health.html
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    66
  Cluster Health.
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    67
https://www.elastic.co/guide/en/elasticsearch/reference/current/_list_all_indices.html
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    68
  List All Indices.
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    69
https://www.elastic.co/guide/en/elasticsearch/reference/current/cat.html
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    70
  cat APIs.
2207
5085ac83075b List of tasks executed in cluster.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2206
diff changeset
    71
https://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html
5085ac83075b List of tasks executed in cluster.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2206
diff changeset
    72
  Task Management API.
2199
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    73
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    74
Managing indexes
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    75
================
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    76
2202
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    77
Assign number of shards and replicas::
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    78
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    79
  curl -XPUT -d '{settings: {index: "number_of_shards": 3, "number_of_replicas": 1}}'
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    80
2199
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    81
https://www.elastic.co/guide/en/elasticsearch/reference/current/_delete_an_index.html
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    82
  Delete an Index.
2202
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    83
https://github.com/elastic/curator
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    84
  Manage/archive indices.
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    85
https://www.elastic.co/guide/en/elasticsearch/client/curator/current/about.html
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    86
  Elasticsearch Curator helps you curate, or manage, your Elasticsearch indices and snapshots.
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    87
https://www.elastic.co/guide/en/elasticsearch/client/curator/current/about-features.html
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    88
  Curator allows for many different operations to be performed to both indices and snapshots.
2199
47cadb10f1df Get base information.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    89
2202
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    90
https://www.elastic.co/guide/en/elasticsearch/guide/current/retiring-data.html
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    91
  Retiring Data.
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    92
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    93
Lucene search syntax
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    94
====================
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    95
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    96
``TERM1 TERM2`` is same as ``TERM1 OR TERM2``.
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    97
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    98
``"TERM1 TERM2"`` is for phrase.
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
    99
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   100
``"TERM1 TERM2"~5`` is for proximity.
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   101
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   102
``TERM~0.8`` is for fuzzy.
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   103
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   104
``*`` is for wildcard.
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   105
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   106
Boosting is done with ``^N`` syntax, like ``TERM1^10 TERM2``.
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   107
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   108
Range with ``[2017-01-01 TO 2017-02-29]``.
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   109
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   110
Logical ``AND``, ``OR``, ``NOT`` and parentheses for grouping.
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   111
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   112
Fields are set before colon, like ``FIELD:TERM``.
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   113
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   114
https://www.elastic.co/guide/en/elasticsearch/reference/master/query-dsl-query-string-query.html
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   115
  Query String Query
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   116
https://www.elastic.co/guide/en/elasticsearch/reference/master/query-dsl-simple-query-string-query.html
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   117
  Simple Query String Query
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   118
2212
aec79721c8aa Fix typo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2207
diff changeset
   119
ES Query DSL
aec79721c8aa Fix typo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2207
diff changeset
   120
============
aec79721c8aa Fix typo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2207
diff changeset
   121
2223
c50753af1f09 ES Query DSL.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2212
diff changeset
   122
``_exists_:<field>`` for testing field existence, ``_missing_:<field>`` for testing field absence.
c50753af1f09 ES Query DSL.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2212
diff changeset
   123
c50753af1f09 ES Query DSL.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2212
diff changeset
   124
``-<field>:<val>`` or ``-field:"<val>"`` for excluding field value.
2212
aec79721c8aa Fix typo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2207
diff changeset
   125
aec79721c8aa Fix typo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2207
diff changeset
   126
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-exists-query.html
aec79721c8aa Fix typo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2207
diff changeset
   127
  Exists Query
aec79721c8aa Fix typo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2207
diff changeset
   128
aec79721c8aa Fix typo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2207
diff changeset
   129
2202
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   130
Performance
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   131
===========
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   132
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   133
https://www.elastic.co/guide/en/elasticsearch/reference/5.5/search-profile.html
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   134
  Profile API.
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   135
https://www.elastic.co/guide/en/elasticsearch/reference/current/_explain_analyze.html
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   136
  Explain Analyze.
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   137
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-explain.html
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   138
  Explain API.
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   139
2206
e765d2924785 Tune for disk usage.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2203
diff changeset
   140
https://www.elastic.co/guide/en/elasticsearch/reference/current/tune-for-disk-usage.html
e765d2924785 Tune for disk usage.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2203
diff changeset
   141
  Tune for disk usage.
2202
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   142
https://www.elastic.co/guide/en/elasticsearch/reference/current/tune-for-indexing-speed.html
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   143
  Tune for indexing speed.
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   144
https://www.elastic.co/guide/en/elasticsearch/reference/current/tune-for-search-speed.html
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   145
  Tune for search speed.
2206
e765d2924785 Tune for disk usage.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2203
diff changeset
   146
https://www.elastic.co/blog/filebeat-modiles-access-logs-and-elasticsearch-storage-requirements
e765d2924785 Tune for disk usage.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2203
diff changeset
   147
  Filebeat modules, access logs and Elasticsearch storage requirements.
2202
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   148
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   149
JSON search syntax
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   150
==================
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   151
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   152
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-from-size.html
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   153
  Search results pagination.
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   154
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   155
  Query String Query.
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   156
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations.html
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   157
  Aggregation.
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   158
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-sort.html
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   159
  Sort.
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   160
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   161
Alerting
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   162
========
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   163
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   164
https://github.com/Yelp/elastalert
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   165
  Easy & Flexible Alerting With Elasticsearch.
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   166
http://elastalert.readthedocs.io/en/latest/elastalert.html
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   167
  Easy & Flexible Alerting With Elasticsearch.
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   168
https://github.com/sirensolutions/sentinl/wiki/SENTINL-Alerts-in-Dashboard
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   169
  SENTINL Alerts in Dashboard.
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   170
https://github.com/sirensolutions/sentinl/wiki/SENTINL-Config-Example
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   171
  SENTINL Config Example
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   172
https://github.com/sirensolutions/sentinl/wiki/SENTINL-Tutorial
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   173
  SENTINL Tutorial
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   174
https://github.com/sirensolutions/sentinl/wiki/SENTINL-Watcher-Anatomy
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   175
  SENTINL Watcher Anatomy
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   176
https://github.com/sirensolutions/sentinl/wiki/SENTINL-Watcher-Examples
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   177
  SENTINL Watcher Examples
37bf9f7b8560 Managing indexes. Lucene search syntax. Performance. JSON search syntax. Alerting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2199
diff changeset
   178