public class SolrLogAuditLoggerPlugin extends AuditLoggerPlugin
AuditLoggerPlugin.AuditEventFormatter, AuditLoggerPlugin.JSONAuditEventFormatter, AuditLoggerPlugin.MuteRule
SolrInfoBean.Category, SolrInfoBean.Group
eventTypes, formatter, metricManager, numErrors, numLogged, numLost, queuedTime, registryName, requestTimes, 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, getMetricRegistry, getName, initializeMetrics, run, setFormatter, shouldLog, shouldMute, waitForQueueToDrain
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetricsSnapshot, registerMetricName
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-2019 Apache Software Foundation. All Rights Reserved.