parsedmarc.sink.opensearch
๐
OpenSearch
๐
Bases: Sink
Stores reports in OpenSearch.
New in 9.0.
PARAMETER | DESCRIPTION |
---|---|
name |
profile name for this instance, ideally should be unqiue to easily idenfity this instance and any log messages it produces
TYPE:
|
config |
config for this instance |
process_report
๐
process_report(report: Report) -> None
Default method for processing reports.
Rather than directly processing reports, checks for methods matching a given report type and if it exists passes teh report to it. If no method exists for the given report does nothing.
Supported methods:
process_aggregate_report
process_forensic_report
shutdown
๐
validate_config
๐
Validate the config of this instance
Child classes can override this method to implement their own logic.
It is still recomended to call super().validate_config()
.
OpenSearchClientConfig
๐
Bases: BaseModel
OpenSearch Client Config