OpenSearch/docs/en/rest-api
Zachary Tong 7810dc6146 [Rollup] Add `value_count` metric (elastic/x-pack-elasticsearch#4315)
Adds `value_count` as one of the accepted metrics.  The caveat is that
it only accepts numeric values for two reasons:

- Job validation at creation makes sure all metrics are numeric fields.
Changing this would require new syntax (or disallowing anything but
value_count on mixed fields)
- when `toBuilders()` is called, we have to supply a ValueSource to
the ValueCountBuilder, and we don't know what the field type is at that
time.

These are both fixable, but relatively more involved.  I think numeric-only
is a reasonable limitation to start with

Original commit: elastic/x-pack-elasticsearch@270f24c8bf
2018-04-06 10:47:33 -07:00
..
graph [DOCS] Fixed cross-doc link to Graph Troubleshooting. 2017-06-28 13:01:35 -07:00
license Add api to start basic license (elastic/x-pack-elasticsearch#4083) 2018-03-12 14:39:58 -06:00
migration [DOCS] Added licensing APIs (elastic/x-pack-elasticsearch#4026) 2018-03-06 09:47:04 -08:00
ml [ML][DOCS] Correct path for get-stats for all jobs/datafeeds (elastic/x-pack-elasticsearch#4280) 2018-04-03 18:00:34 +01:00
rollup [Rollup] Add `value_count` metric (elastic/x-pack-elasticsearch#4315) 2018-04-06 10:47:33 -07:00
security [DOCS] Role Mapping API improvements (elastic/x-pack-elasticsearch#3951) 2018-02-16 09:29:19 -08:00
watcher Watcher: Prevent watch acknowledgement while watch is executing (elastic/x-pack-elasticsearch#4224) 2018-04-04 10:15:20 +02:00
defs.asciidoc [DOCS] Added ML add and delete calendar event APIs (elastic/x-pack-elasticsearch#3394) 2018-01-24 08:14:23 -08:00
index.asciidoc [DOCS] Fixed link text 2018-04-04 10:39:13 -07:00
info.asciidoc Rollups for Elasticsearch (elastic/x-pack-elasticsearch#4002) 2018-02-23 17:10:37 -05:00
licensing.asciidoc Add api to start basic license (elastic/x-pack-elasticsearch#4083) 2018-03-12 14:39:58 -06:00
migration.asciidoc add Migration Deprecation Info API Documentation (elastic/x-pack-elasticsearch#2064) 2017-07-21 16:20:13 -07:00
ml-api.asciidoc [DOCS] Added ML add and delete calendar event APIs (elastic/x-pack-elasticsearch#3394) 2018-01-24 08:14:23 -08:00
rollup-api.asciidoc Rollups for Elasticsearch (elastic/x-pack-elasticsearch#4002) 2018-02-23 17:10:37 -05:00
security.asciidoc [DOCS] Added SSL certificates API (elastic/x-pack-elasticsearch#3136) 2018-01-17 08:14:02 -08:00
watcher.asciidoc Docs: Fixing failing docs build by removing leftover marker 2017-08-01 17:53:10 +02:00