public class SolrLogAuditLoggerPlugin extends AuditLoggerPlugin
AuditLoggerPlugin.AuditEventFormatter, AuditLoggerPlugin.JSONAuditEventFormatter, AuditLoggerPlugin.MuteRule
SolrInfoBean.Category, SolrInfoBean.Group
eventTypes, formatter, numErrors, numLogged, numLost, queuedTime, requestTimes, solrMetricsContext, totalTime
Constructor and Description |
---|
SolrLogAuditLoggerPlugin() |
Modifier and Type | Method and Description |
---|---|
void |
audit(AuditEvent event)
Audit logs an event to Solr log.
|
void |
init(Map<String,Object> pluginConfig)
Initialize the plugin from security.json
|
auditAsync, close, doAudit, getCategory, getDescription, getMetricNames, getName, getSolrMetricsContext, initializeMetrics, run, setFormatter, shouldLog, shouldMute, waitForQueueToDrain
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetricRegistry, getMetricsSnapshot, registerMetricName
getUniqueMetricTag, initializeMetrics
public void init(Map<String,Object> pluginConfig)
init
in class AuditLoggerPlugin
pluginConfig
- the config for the pluginpublic void audit(AuditEvent event)
AuditEvent
to be able to pull context infoaudit
in class AuditLoggerPlugin
event
- the event to logCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.