From 3243d37436db2c0e96799b8be160b16ec145a25e Mon Sep 17 00:00:00 2001 From: Tim Pavlik Date: Tue, 20 Mar 2018 12:06:50 -0700 Subject: [PATCH] Change references to in searchcommands_app for filter command argument from `map` to `update`. --- examples/searchcommands_app/package/bin/filter.py | 2 +- examples/searchcommands_app/package/default/searchbnf.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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