Class ScriptProcessor
Allows inline, stored, and file scripts to be executed within ingest pipelines.
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class ScriptProcessor : ProcessorBase, IScriptProcessor, IProcessor
Properties
| Edit this page View SourceId
The stored script id to refer to
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Lang
The scripting language. Defaults to painless
Declaration
public string Lang { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Declaration
protected override string Name { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
| Edit this page View SourceParams
Parameters for the script
Declaration
public Dictionary<string, object> Params { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, object> |
Source
An inline script to be executed
Declaration
public string Source { get; set; }
Property Value
Type | Description |
---|---|
string |