File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
examples/searchcommands_app/package Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ class FilterCommand(EventingCommand):
5959 ''' , validate = Code ('eval' ))
6060
6161 update = Option (doc = '''
62- **Syntax:** **map =***<statements>*
62+ **Syntax:** **update =***<statements>*
6363 **Description:** Augments or modifies records for which the predicate is True before they are returned.
6464
6565 ''' , validate = Code ('exec' ))
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ comment1 = \
3535 of the records produced by the generatetext command.
3636example1 = \
3737 | generatetext text="Hello world! How the heck are you?" count=6 \
38- | filter predicate="(long(_serial) & 1) == 0" map ="_raw = _raw.replace('world', 'Splunk')"
38+ | filter predicate="(long(_serial) & 1) == 0" update ="_raw = _raw.replace('world', 'Splunk')"
3939category = events
4040appears-in = 1.5
4141maintainer = dnoble
You can’t perform that action at this time.
0 commit comments