Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/user/ppl/cmd/bin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ bin
:depth: 2


.. note::

Available since version 3.3


Description
============
| The ``bin`` command groups numeric values into buckets of equal intervals, making it useful for creating histograms and analyzing data distribution. It takes a numeric field and generates a new field with values that represent the lower bound of each bucket.
Expand Down
5 changes: 4 additions & 1 deletion docs/user/ppl/cmd/eventstats.rst
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,10 @@ DISTINCT_COUNT, DC(Since 3.3)
Description
>>>>>>>>>>>

Usage: DISTINCT_COUNT(expr), DC(expr). Returns the approximate number of distinct values of expr using HyperLogLog++ algorithm. Both ``DISTINCT_COUNT`` and ``DC`` are equivalent and provide the same functionality.
Usage: DISTINCT_COUNT(expr), DC(expr). Returns the approximate number of distinct values using the HyperLogLog++ algorithm. Both functions are equivalent.

For details on algorithm accuracy and precision control, see the `OpenSearch Cardinality Aggregation documentation <https://docs.opensearch.org/latest/aggregations/metric/cardinality/#controlling-precision>`_.


Example::

Expand Down
2 changes: 2 additions & 0 deletions docs/user/ppl/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ The query start with search command and then flowing a set of command delimited

- `appendcol command <cmd/appendcol.rst>`_

- `bin command <cmd/bin.rst>`_

- `dedup command <cmd/dedup.rst>`_

- `describe command <cmd/describe.rst>`_
Expand Down
Loading