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):
59
59
''' , validate = Code ('eval' ))
60
60
61
61
update = Option (doc = '''
62
- **Syntax:** **map =***<statements>*
62
+ **Syntax:** **update =***<statements>*
63
63
**Description:** Augments or modifies records for which the predicate is True before they are returned.
64
64
65
65
''' , validate = Code ('exec' ))
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ comment1 = \
35
35
of the records produced by the generatetext command.
36
36
example1 = \
37
37
| 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')"
39
39
category = events
40
40
appears-in = 1.5
41
41
maintainer = dnoble
You can’t perform that action at this time.
0 commit comments