@Tags(value={"xml","windows","event","log","record","reader","parser"}) @CapabilityDescription(value="Reads Windows Event Log data as XML content having been generated by ConsumeWindowsEventLog, ParseEvtx, etc. (see Additional Details) and creates Record object(s). If the root tag of the input XML is \'Events\', the child content is expected to be a series of \'Event\' tags, each of which will constitute a single record. If the root tag is \'Event\', the content is expected to be a single \'Event\' and thus a single record. No other root tags are valid. Only events of type \'System\' are currently supported.") public class WindowsEventLogReader extends AbstractControllerService implements RecordReaderFactory
Modifier and Type | Field and Description |
---|---|
private static String |
DATE_FORMAT |
private static String |
TIME_FORMAT |
private static String |
TIMESTAMP_FORMAT |
Constructor and Description |
---|
WindowsEventLogReader() |
Modifier and Type | Method and Description |
---|---|
RecordReader |
createRecordReader(Map<String,String> variables,
InputStream in,
long inputLength,
ComponentLog logger) |
abstractClearConfigContext, abstractStoreConfigContext, disabled, enabled, getConfigurationContext, getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, getProperty, getStateManager, init, initialize, isEnabled
customValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, getSupportedPropertyDescriptors, hashCode, onPropertyModified, toString, validate
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
createRecordReader
initialize, isStateful
getIdentifier, getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validate
private static final String DATE_FORMAT
private static final String TIME_FORMAT
private static final String TIMESTAMP_FORMAT
public RecordReader createRecordReader(Map<String,String> variables, InputStream in, long inputLength, ComponentLog logger) throws MalformedRecordException, IOException, SchemaNotFoundException
createRecordReader
in interface RecordReaderFactory
MalformedRecordException
IOException
SchemaNotFoundException
Copyright © 2023 Apache NiFi Project. All rights reserved.