SPLK-2003 · Question #101
How is a Django filter query performed?
The correct answer is A. By adding parameters to the URL similar to the following. Django filter queries in Splunk SOAR are performed by appending filter parameters directly to the REST API URL. This allows users to refine their search and retrieve specific data. For example, to filter containers by tags containing the word "sumo", the following URL structure…
Question
How is a Django filter query performed?
Options
- ABy adding parameters to the URL similar to the following:
- Bphantom/rest/search/app/contains/"sumo"
- CBrowse to the Django Filter Query Editor in the Administration panel.
- DInstall the SOAR Django App first, then configure the search query in the App editor.
How the community answered
(44 responses)- A93% (41)
- B2% (1)
- D5% (2)
Explanation
Django filter queries in Splunk SOAR are performed by appending filter parameters directly to the REST API URL. This allows users to refine their search and retrieve specific data. For example, to filter containers by tags containing the word "sumo", the following URL structure would be https://<PHANTOM_URL>/rest/container?_filter_tags_contains="sumo". This format enables users to construct dynamic queries that can filter results based on specified criteria within the Django framework used by Splunk SOAR. The correct way to perform a Django filter query in Splunk SOAR is to add parameters to the URL similar to the following: phantom/rest/container?_filter_tags_contains="sumo". This will return a list of containers that have the tag "sumo" in them. You can use various operators and fields to filter the results according to your needs.
Topics
Community Discussion
No community discussion yet for this question.