sifter.logsifter.logsieves.models¶
Graph of models in the sifter.logsifter.logsieves app and related apps.
Defines LogSieve class and related classes.
-
class
sifter.logsifter.logsieves.models.LogRule(*args, **kwargs)[source]¶ Bases:
sifter.sieves.models.StringRuleA Rule subclass for examining log messages.
-
exception
DoesNotExist¶
-
exception
MultipleObjectsReturned¶
-
get_operator_display(**morekwargs)¶
-
id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
objects= <cyphon.models.GetByNameManager object>¶
-
protocol¶ Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
child.parentis aForwardManyToOneDescriptorinstance.
-
exception
-
class
sifter.logsifter.logsieves.models.LogSieve(*args, **kwargs)[source]¶ Bases:
sifter.sieves.models.SieveA RuleSet subclass for examining log messages.
-
exception
DoesNotExist¶
-
exception
MultipleObjectsReturned¶
-
chutes¶ Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
parent.childrenis aReverseManyToOneDescriptorinstance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()defined below.
-
get_logic_display(**morekwargs)¶
-
id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
nodes¶ Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
parent.childrenis aReverseManyToOneDescriptorinstance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()defined below.
-
objects= <sifter.sieves.models.SieveManager object>¶
-
exception
-
class
sifter.logsifter.logsieves.models.LogSieveNode(*args, **kwargs)[source]¶ Bases:
sifter.sieves.models.SieveNodeA RuleSetNode subclass for examining log messages.
-
CONTENT_TYPES= <Q: (OR: (AND: ('model', 'logrule'), ('app_label', 'logsieves')), (AND: ('model', 'logsieve'), ('app_label', 'logsieves')))>¶
-
exception
DoesNotExist¶
-
exception
MultipleObjectsReturned¶
-
RULE= <Q: (AND: ('model', 'logrule'), ('app_label', 'logsieves'))>¶
-
RULESET= <Q: (AND: ('model', 'logsieve'), ('app_label', 'logsieves'))>¶
-
content_type¶ Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
child.parentis aForwardManyToOneDescriptorinstance.
-
content_type_id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
node_object¶ Provide a generic many-to-one relation through the
content_typeandobject_idfields.This class also doubles as an accessor to the related object (similar to ForwardManyToOneDescriptor) by adding itself as a model attribute.
-
objects= <django.db.models.manager.Manager object>¶
-
sieve¶ Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
child.parentis aForwardManyToOneDescriptorinstance.
-
sieve_id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-