Skip to content

Commit c33c500

Browse files
Merge pull request splunk#195 from splunk/bugfix/DVPL-7308-fix-refences-to-filter-command-map-arg
Change references to searchcommands_app `filter` command argument from `map` to `update`.
2 parents 6899980 + 3243d37 commit c33c500

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/searchcommands_app/package/bin/filter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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'))

examples/searchcommands_app/package/default/searchbnf.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ comment1 = \
3535
of the records produced by the generatetext command.
3636
example1 = \
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')"
3939
category = events
4040
appears-in = 1.5
4141
maintainer = dnoble

0 commit comments

Comments
 (0)