elasticsearch/docs/reference/esql/functions/kibana/definition
Iván Cea Fontenla f16f71e2a2
ESQL: Add ip_prefix function (#109070)
Added ESQL function to get the prefix of an IP. It works now with both
IPv4 and IPv6. For users planning to use it with mixed IPs, we may need
to add a function like "is_ipv4()" first.

**About the skipped test:** There's currently a "bug" in the
evaluators//functions that return null. Evaluators can't handle them.
We'll work on support for that in another PR. It affects other
functions, like `substring()`. In this function, however, it only
affects in "wrong" cases (Like an invalid prefix), so it has no impact.

Fixes https://github.com/elastic/elasticsearch/issues/99064
2024-05-29 10:23:45 -04:00
..
abs.json ESQL: Generate kibana inline docs (#106782) 2024-04-09 14:19:48 -04:00
acos.json ESQL: Generate kibana inline docs (#106782) 2024-04-09 14:19:48 -04:00
asin.json ESQL: Generate kibana inline docs (#106782) 2024-04-09 14:19:48 -04:00
atan.json ESQL: Generate kibana inline docs (#106782) 2024-04-09 14:19:48 -04:00
atan2.json ESQL: Generate kibana inline docs (#106782) 2024-04-09 14:19:48 -04:00
bucket.json Update BUCKET docs in source (#108005) 2024-04-29 14:27:20 +02:00
case.json [ES|QL] Add/Modify annotations for spatial and conditional functions for better doc generation (#107722) 2024-05-10 14:49:25 -04:00
cbrt.json ESQL: CBRT function (#108574) 2024-05-15 16:50:15 +02:00
ceil.json ESQL: Generate kibana inline docs (#106782) 2024-04-09 14:19:48 -04:00
cidr_match.json [ES|QL] Add/Modify annotations for operators for better doc generation (#108220) 2024-05-03 22:59:51 -04:00
coalesce.json ES|QL: more tests for coalesce() function (#109032) 2024-05-27 04:36:06 -04:00
concat.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
cos.json ESQL: Generate kibana inline docs (#106782) 2024-04-09 14:19:48 -04:00
cosh.json ESQL: Generate kibana inline docs (#106782) 2024-04-09 14:19:48 -04:00
date_diff.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
date_extract.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
date_format.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
date_parse.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
date_trunc.json ESQL: Generate kibana inline docs (#106782) 2024-04-09 14:19:48 -04:00
e.json ESQL: Improve tests and docs for some functions (#107331) 2024-04-11 12:41:56 -04:00
ends_with.json [ES|QL] Add/Modify annotations for operators for better doc generation (#108220) 2024-05-03 22:59:51 -04:00
floor.json ESQL: Improve tests and docs for some functions (#107331) 2024-04-11 12:41:56 -04:00
from_base64.json [ES|QL] Base64 decoding and encoding functions (#107390) 2024-04-15 18:39:26 -04:00
greatest.json [ES|QL] Add/Modify annotations for spatial and conditional functions for better doc generation (#107722) 2024-05-10 14:49:25 -04:00
ip_prefix.json ESQL: Add ip_prefix function (#109070) 2024-05-29 10:23:45 -04:00
least.json [ES|QL] Add/Modify annotations for spatial and conditional functions for better doc generation (#107722) 2024-05-10 14:49:25 -04:00
left.json ESQL: Generate kibana inline docs (#106782) 2024-04-09 14:19:48 -04:00
length.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
locate.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
log.json ESQL: Generate kibana inline docs (#106782) 2024-04-09 14:19:48 -04:00
log10.json ESQL: Generate kibana inline docs (#106782) 2024-04-09 14:19:48 -04:00
ltrim.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
mv_avg.json mv functions (#107839) 2024-05-01 10:47:22 -04:00
mv_concat.json mv functions (#107839) 2024-05-01 10:47:22 -04:00
mv_count.json mv functions (#107839) 2024-05-01 10:47:22 -04:00
mv_dedupe.json mv functions (#107839) 2024-05-01 10:47:22 -04:00
mv_first.json mv functions (#107839) 2024-05-01 10:47:22 -04:00
mv_last.json mv functions (#107839) 2024-05-01 10:47:22 -04:00
mv_max.json mv functions (#107839) 2024-05-01 10:47:22 -04:00
mv_median.json mv functions (#107839) 2024-05-01 10:47:22 -04:00
mv_min.json mv functions (#107839) 2024-05-01 10:47:22 -04:00
mv_slice.json mv functions (#107839) 2024-05-01 10:47:22 -04:00
mv_sort.json mv functions (#107839) 2024-05-01 10:47:22 -04:00
mv_sum.json mv functions (#107839) 2024-05-01 10:47:22 -04:00
mv_zip.json mv functions (#107839) 2024-05-01 10:47:22 -04:00
now.json ES|QL: Add unit tests for now() function (#108498) 2024-05-10 14:28:19 +02:00
pi.json [ESQL] Add in the autogenerated docs for a bunch of functions (#107633) 2024-04-18 14:09:30 -04:00
pow.json ESQL: Improve tests and docs for some functions (#107331) 2024-04-11 12:41:56 -04:00
replace.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
right.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
round.json [ESQL] Add in the autogenerated docs for a bunch of functions (#107633) 2024-04-18 14:09:30 -04:00
rtrim.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
signum.json ESQL: Generate kibana inline docs (#106782) 2024-04-09 14:19:48 -04:00
sin.json ESQL: Generate kibana inline docs (#106782) 2024-04-09 14:19:48 -04:00
sinh.json ESQL: Generate kibana inline docs (#106782) 2024-04-09 14:19:48 -04:00
split.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
sqrt.json ESQL: CBRT function (#108574) 2024-05-15 16:50:15 +02:00
st_contains.json [ES|QL] Add/Modify annotations for spatial and conditional functions for better doc generation (#107722) 2024-05-10 14:49:25 -04:00
st_disjoint.json [ES|QL] Add/Modify annotations for spatial and conditional functions for better doc generation (#107722) 2024-05-10 14:49:25 -04:00
st_intersects.json [ES|QL] Add/Modify annotations for spatial and conditional functions for better doc generation (#107722) 2024-05-10 14:49:25 -04:00
st_within.json [ES|QL] Add/Modify annotations for spatial and conditional functions for better doc generation (#107722) 2024-05-10 14:49:25 -04:00
st_x.json [ES|QL] Add/Modify annotations for spatial and conditional functions for better doc generation (#107722) 2024-05-10 14:49:25 -04:00
st_y.json [ES|QL] Add/Modify annotations for spatial and conditional functions for better doc generation (#107722) 2024-05-10 14:49:25 -04:00
starts_with.json [ES|QL] Add/Modify annotations for operators for better doc generation (#108220) 2024-05-03 22:59:51 -04:00
substring.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
tan.json ESQL: Generate kibana inline docs (#106782) 2024-04-09 14:19:48 -04:00
tanh.json ESQL: Generate kibana inline docs (#106782) 2024-04-09 14:19:48 -04:00
tau.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_base64.json [ES|QL] Base64 decoding and encoding functions (#107390) 2024-04-15 18:39:26 -04:00
to_boolean.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_cartesianpoint.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_cartesianshape.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_datetime.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_degrees.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_double.json Support metrics counter types in ESQL (#107877) 2024-04-26 12:15:48 -07:00
to_geopoint.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_geoshape.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_integer.json Support metrics counter types in ESQL (#107877) 2024-04-26 12:15:48 -07:00
to_ip.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_long.json Support metrics counter types in ESQL (#107877) 2024-04-26 12:15:48 -07:00
to_lower.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_radians.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_string.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_unsigned_long.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_upper.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
to_version.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00
trim.json [ES|QL] more doc generation via annotations (#107541) 2024-04-22 14:43:36 -04:00