Skip to content

Commit 2f974a9

Browse files
author
Philippe Tang
committed
[DVPL-10898] Convert to POST - search/parser
1 parent f28dd7b commit 2f974a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

splunklib/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ def parse(self, query, **kwargs):
557557
:type kwargs: ``dict``
558558
:return: A semantic map of the parsed search query.
559559
"""
560-
return self.get("search/parser", q=query, **kwargs)
560+
return self.post("search/parser", q=query, **kwargs)
561561

562562
def restart(self, timeout=None):
563563
"""Restarts this Splunk instance.

0 commit comments

Comments
 (0)