Skip navigation links
A B C D E G I M P R S U V 

A

activateOptions() - Method in class io.confluent.log4j.redactor.RedactorAppender
Called after all options are read in so that they can be acted on at one time.
activateOptions() - Method in class io.confluent.log4j.redactor.RedactorPolicy
Called after all options are passed in via setter methods so that they can be acted on at one time.
append(LoggingEvent) - Method in class io.confluent.log4j.redactor.RedactorAppender
 

B

backgroundThreads - Static variable in class io.confluent.logredactor.internal.StringRedactorEngine
 
build() - Method in class io.confluent.logredactor.internal.MetricsTagBuilder
 

C

closeBackgroundThreads() - Static method in class io.confluent.logredactor.internal.StringRedactorEngine
Function that closes background threads Used only for testing
createFromJsonFile(String) - Static method in class io.confluent.logredactor.internal.StringRedactor
Create a StringRedactor based on the JSON found in a file.
createFromJsonFile(String, LogRedactorMetrics) - Static method in class io.confluent.logredactor.internal.StringRedactor
 
createFromJsonString(String, String) - Static method in class io.confluent.logredactor.internal.StringRedactor
Create a StringRedactor based on the JSON found in the given String.
createFromJsonString(String, String, LogRedactorMetrics) - Static method in class io.confluent.logredactor.internal.StringRedactor
 
createPolicy(String, String, Long, Integer, LogRedactorMetrics) - Static method in class io.confluent.log4j2.redactor.RedactorPolicy
 

D

DEFAULT_METRICS - Static variable in class io.confluent.logredactor.internal.StringRedactorEngine
 
DEFAULT_REFRESH_INTERVAL_MILLIS - Static variable in class io.confluent.logredactor.internal.StringRedactorEngine
 
DEFAULT_RULES_LOCATION - Static variable in class io.confluent.logredactor.internal.StringRedactorEngine
 
DEFAULT_URL_READER_TIMEOUT_MILLIS - Static variable in class io.confluent.logredactor.internal.StringRedactorEngine
 

E

emptyStringRedactor(LogRedactorMetrics, Map<String, String>) - Static method in class io.confluent.logredactor.internal.StringRedactor
 
errorCode(MetricsTagBuilder.ErrorCode) - Method in class io.confluent.logredactor.internal.MetricsTagBuilder
 

G

getRedactor() - Method in class io.confluent.logredactor.internal.StringRedactorEngine
Returns the current redactor

I

io.confluent.log4j.redactor - package io.confluent.log4j.redactor
 
io.confluent.log4j2.redactor - package io.confluent.log4j2.redactor
 
io.confluent.logredactor.internal - package io.confluent.logredactor.internal
 

M

measureRuleCount() - Method in class io.confluent.logredactor.internal.StringRedactor
 
metrics - Variable in class io.confluent.logredactor.internal.StringRedactorEngine
 
MetricsTagBuilder - Class in io.confluent.logredactor.internal
This class provides a simple way to create tags for metrics that are defined and used in LogRedactorMetrics.
MetricsTagBuilder() - Constructor for class io.confluent.logredactor.internal.MetricsTagBuilder
 
MetricsTagBuilder.ErrorCode - Enum in io.confluent.logredactor.internal
 

P

policyContent(String) - Method in class io.confluent.logredactor.internal.MetricsTagBuilder
 
policyHash(String) - Method in class io.confluent.logredactor.internal.MetricsTagBuilder
 
policyLocation(String) - Method in class io.confluent.logredactor.internal.MetricsTagBuilder
 

R

redact(String) - Method in class io.confluent.logredactor.internal.StringRedactor
The actual redaction - given a message, look through the list of redaction rules and apply if matching.
redact(Throwable) - Method in class io.confluent.logredactor.internal.StringRedactor
 
RedactionPolicyParseException - Exception in io.confluent.logredactor.internal
We throw this when we have json parsing exceptions instead of throwing a jackson JsonMappingException or JsonParseException because that will expose the jackson internals externally.
RedactionPolicyParseException() - Constructor for exception io.confluent.logredactor.internal.RedactionPolicyParseException
 
RedactionPolicyParseException(String) - Constructor for exception io.confluent.logredactor.internal.RedactionPolicyParseException
 
RedactionPolicyParseException(Throwable) - Constructor for exception io.confluent.logredactor.internal.RedactionPolicyParseException
 
RedactionPolicyParseException(String, Throwable) - Constructor for exception io.confluent.logredactor.internal.RedactionPolicyParseException
 
RedactorAppender - Class in io.confluent.log4j.redactor
RewriteAppender that redacts the message of LoggingEvents and delegates to the referenced Appender.
RedactorAppender() - Constructor for class io.confluent.log4j.redactor.RedactorAppender
 
RedactorPolicy - Class in io.confluent.log4j.redactor
RewritePolicy implementation that applies the redaction rules defined in the configuration of the RedactorPolicy in the Log4j Properties configuration file.
RedactorPolicy() - Constructor for class io.confluent.log4j.redactor.RedactorPolicy
 
RedactorPolicy - Class in io.confluent.log4j2.redactor
RewritePolicy implementation that applies the redaction rules defined in the configuration of the RedactorPolicy in the Log4j Properties configuration file.
rewrite(LoggingEvent) - Method in class io.confluent.log4j.redactor.RedactorPolicy
Given a LoggingEvent, potentially modify it and return an altered copy.
rewrite(LogEvent) - Method in class io.confluent.log4j2.redactor.RedactorPolicy
Given a LoggingEvent, potentially modify it and return an altered copy.
rule(String) - Method in class io.confluent.logredactor.internal.MetricsTagBuilder
 

S

setAppenderRefs(String) - Method in class io.confluent.log4j.redactor.RedactorAppender
Log4j configurator calls this with the contents found in the config file.
setMetrics(String) - Method in class io.confluent.log4j.redactor.RedactorPolicy
Log4j configurator calls this method with the value found in the config file.
setPolicy(RedactorPolicy) - Method in class io.confluent.log4j.redactor.RedactorAppender
Log4j configurator calls this with the contents found in the config file.
setRefreshInterval(long) - Method in class io.confluent.log4j.redactor.RedactorPolicy
Log4j configurator calls this method with the value found in the config file.
setRules(String) - Method in class io.confluent.log4j.redactor.RedactorPolicy
Log4j configurator calls this method with the value found in the config file.
setTestOverride(String) - Static method in class io.confluent.logredactor.internal.UrlReader
 
setTimeOut(int) - Method in class io.confluent.log4j.redactor.RedactorPolicy
Log4j configurator calls this method with the value found in the config file.
StringRedactor - Class in io.confluent.logredactor.internal
This class contains the logic for redacting Strings.
StringRedactorEngine - Class in io.confluent.logredactor.internal
This class contains the logic for starting a background thread, that actively checks for updates in redaction policy, fetches and compiles the new policy for the log redactor to use.
StringRedactorEngine(String, long, int, LogRedactorMetrics) - Constructor for class io.confluent.logredactor.internal.StringRedactorEngine
 

U

UrlReader - Class in io.confluent.logredactor.internal
This class contains the logic to read a redaction policy into string from a given URL string
UrlReader() - Constructor for class io.confluent.logredactor.internal.UrlReader
 
urlToString(String, int) - Static method in class io.confluent.logredactor.internal.UrlReader
 

V

valueOf(String) - Static method in enum io.confluent.logredactor.internal.MetricsTagBuilder.ErrorCode
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.confluent.logredactor.internal.MetricsTagBuilder.ErrorCode
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E G I M P R S U V 
Skip navigation links

Copyright © 2022 Confluent, Inc.. All rights reserved.