Bladeren bron

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

Dan Hermann 4 jaren geleden
bovenliggende
commit
01beb3f5d2
1 gewijzigde bestanden met toevoegingen van 10 en 0 verwijderingen
  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);
 ----
+
+===== 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)
+----