Module Import alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Dict Dict Dict ListLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assert CompareEq Call NameLoad AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assert CompareEq Call NameLoad AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assert CompareEq Call NameLoad AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assert CompareEq Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body If CompareIn NameLoad NameLoad body Delete SubscriptDel NameLoad Index NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad decorator_list decorator_list
N/A N/A types filter Filter Mutate N/A Filter N/A N/A Filter that allows you to add, rename, copy and drop fields

    :param map set: fields to set (optional). The values if strings may format other fields from the event.
    :param map rename: fields to rename (a: b renames b to a) (optional)
    :param list unset: fields to unset (optional)

    Example::

        Mutate(set={'fullname': '{first} {last}'})

    Renaming::

        Mutate(rename={'@timestamp': 'timestamp', '@message': 'message'})

    Unsetting::

        Mutate(unset=['junk', 'rubbish'])
     __init__ N/A N/A self set rename copy unset N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A super Mutate self __init__ N/A N/A self sets set N/A N/A N/A type N/A self sets dict N/A N/A self renames rename N/A N/A N/A type N/A self renames dict N/A N/A self copies copy N/A N/A N/A type N/A self copies dict N/A N/A self unsets unset N/A N/A N/A type N/A self unsets list N/A process N/A N/A self event N/A N/A N/A N/A k v N/A N/A N/A self sets iteritems N/A N/A N/A isinstance v N/A types StringTypes N/A N/A v N/A N/A event format v N/A N/A event N/A k v N/A N/A N/A N/A self logger debug N/A Set %r to %r N/A k v N/A N/A k v N/A N/A N/A self renames iteritems N/A N/A N/A v event N/A N/A N/A event N/A k N/A N/A event pop v N/A N/A N/A N/A self logger debug N/A Renamed %r to %r N/A v k N/A N/A k v N/A N/A N/A self copies iteritems N/A N/A N/A v event N/A N/A N/A event N/A k N/A event N/A v N/A N/A N/A N/A self logger debug N/A Copied %r to %r N/A v k N/A k N/A self unsets N/A N/A N/A k event N/A N/A N/A event N/A k N/A N/A N/A N/A self logger debug N/A Unset %r N/A k N/A N/A