Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Provides source builders who need to add javascript to the enrichment process with a single global set of variables and functions that can be used in the individual "scriptlets" other elements provide. The scripts provided (and same for the inputs) are executed once per source per harvest cycle.

TODO

Format

TOD convert to JSON

Code Block
TODO

Legacy documentation:

...

languagejava
	public static class GlobalScriptPojo {
		public List<String> imports; // An optional list of URLs that get imported before the scripts below are run
		public List<String> scripts; // A list of (java)script code blocks that are evaluated in order (normally only need to specify one)
		public String scriptlang; // Currently only "javascript" is supported
	}

Legacy documentation, replaces the following:

TODO

Description

Legacy documentation:

TODO

Examples

TODO