App Framework Reference

Model API

class SplunkQuerySet

The SplunkQuerySet class provides a simple query set for splunkd model objects, featuring iteration, slicing, searching, and ordering methods.

Language Binding

Python

Inheritance

object -> SplunkQuerySet

Constructor

Methods

all() Gets the entire set of model objects.
filter() Gets a filtered clone of the current query set.
filter_by_app() Provides app-based filtering.
filter_by_user() Provides user-based filtering.
get_entities() Creates Splunk Entity object sets of stored Splunk configuration objects.
iterator() Iteratively gets resource entities.
order_by() Gets a clone of the current result set, ordered by model field and sorting order.
search() Gets a clone of the current query set constrained by a specified search string.

See Also

class SplunkAppObjModel
class ObjectMetadataModel
class SplunkRESTManager
class SplunkRESTModel