File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
specification/ingest/_types Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -839,6 +839,14 @@ export class FailProcessor extends ProcessorBase {
839839 message : string
840840}
841841
842+ export enum FingerprintDigest {
843+ md5 = 'MD5' ,
844+ sha1 = 'SHA-1' ,
845+ sha256 = 'SHA-256' ,
846+ sha512 = 'SHA-512' ,
847+ murmurHash3 = 'MurmurHash3'
848+ }
849+
842850export class FingerprintProcessor extends ProcessorBase {
843851 /**
844852 * Array of fields to include in the fingerprint. For objects, the processor
@@ -860,7 +868,7 @@ export class FingerprintProcessor extends ProcessorBase {
860868 * SHA-256, SHA-512, or MurmurHash3.
861869 * @server -default SHA-1
862870 */
863- method ?: string
871+ method ?: FingerprintDigest
864872 /**
865873 * If true, the processor ignores any missing fields. If all fields are
866874 * missing, the processor silently exits without modifying the document.
You can’t perform that action at this time.
0 commit comments