azure event hub logging policy context filtering? -
azure event hub logging has policy configuration defines information gets logged downstream. i've set ieventprocessor listener gets handle of eventdata configured in policy. write code in ieventprocessor log data through company-specific logger. write code in ieventprocessor skip additional logging if context.lasterror.reason = "operationnotfound".
is there way configure filters in policy handle type of logic prefilter events want log or don't want log? also, there way programmatically through type of pre-event handler? time ieventprocessor listener implementation reached, i'm assuming event has been logged somewhere.
i suggest using choose policy , putting <logtoeventhub>
policy inside choose.
Comments
Post a Comment