Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 829 Bytes

File metadata and controls

19 lines (14 loc) · 829 Bytes

Elasticsearch API Usage Examples

Corresponding to Elasticsearch and X-Pack version 5.0.

Elasticsearch

  1. crud.js: Elasticsearch CRUD operations
  2. search.js: Elasticsearch match, match_phrase and bool queries
  3. analysis.js: Elasticsearch analyze API, tokenizers and filters
  4. mappings.js: Elasticsearch field type mappings
  5. snapshot-restore.js: Take and restore snapshots
  6. dev.js: Single node cluster typical setup

X-Pack

  1. alerting.js: X-Pack Alerting (formally Watcher) usages
  2. alerting-measure-time-differences.js: Measure time difference of two events and write into another documents by using X-Pack Alerting
  3. security-document-level-security.js: Enable Document Level Security with X-Pack Security
  4. alerting-with-moving-avg.js: An example watch with moving average aggregation