Browse Source

[DOCS] Expose community ID processor in Painless (#74306)

Dan Hermann 4 years ago
parent
commit
01beb3f5d2
1 changed files with 10 additions and 0 deletions
  1. 10 0
      docs/painless/painless-guide/painless-ingest.asciidoc

+ 10 - 0
docs/painless/painless-guide/painless-ingest.asciidoc

@@ -107,3 +107,13 @@ corresponding value for that component.
 ----
 ----
 String uriParts(String value);
 String uriParts(String value);
 ----
 ----
+
+===== Network community ID
+Use the {ref}/community-id-processor.html[community ID processor] to compute the network
+community ID for network flow data.
+
+[source,Painless]
+----
+String communityId(String sourceIpAddrString, String destIpAddrString, Object ianaNumber, Object transport, Object sourcePort, Object destinationPort, Object icmpType, Object icmpCode, int seed)
+String communityId(String sourceIpAddrString, String destIpAddrString, Object ianaNumber, Object transport, Object sourcePort, Object destinationPort, Object icmpType, Object icmpCode)
+----