diff --git a/examples/searchcommands_app/package/bin/filter.py b/examples/searchcommands_app/package/bin/filter.py index 619198682..36c719eff 100755 --- a/examples/searchcommands_app/package/bin/filter.py +++ b/examples/searchcommands_app/package/bin/filter.py @@ -59,7 +59,7 @@ class FilterCommand(EventingCommand): ''', validate=Code('eval')) update = Option(doc=''' - **Syntax:** **map=**** + **Syntax:** **update=**** **Description:** Augments or modifies records for which the predicate is True before they are returned. ''', validate=Code('exec')) diff --git a/examples/searchcommands_app/package/default/searchbnf.conf b/examples/searchcommands_app/package/default/searchbnf.conf index b31a12941..059815803 100644 --- a/examples/searchcommands_app/package/default/searchbnf.conf +++ b/examples/searchcommands_app/package/default/searchbnf.conf @@ -35,7 +35,7 @@ comment1 = \ of the records produced by the generatetext command. example1 = \ | generatetext text="Hello world! How the heck are you?" count=6 \ - | filter predicate="(long(_serial) & 1) == 0" map="_raw = _raw.replace('world', 'Splunk')" + | filter predicate="(long(_serial) & 1) == 0" update="_raw = _raw.replace('world', 'Splunk')" category = events appears-in = 1.5 maintainer = dnoble