public class SplunkAsserts
extends java.lang.Object
| Constructor and Description |
|---|
SplunkAsserts() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.beam.it.truthmatchers.RecordsSubject |
assertThatSplunkEvents(java.util.Collection<SplunkEvent> events)
Creates a
RecordsSubject to assert information within a list of records. |
static java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
splunkEventsToRecords(java.util.Collection<SplunkEvent> events)
Convert Splunk
SplunkEvent to a list of maps. |
public static java.util.List<java.util.Map<java.lang.String,java.lang.Object>> splunkEventsToRecords(java.util.Collection<SplunkEvent> events)
SplunkEvent to a list of maps.events - List of SplunkEvents to parseRecordsSubjectpublic static org.apache.beam.it.truthmatchers.RecordsSubject assertThatSplunkEvents(java.util.Collection<SplunkEvent> events)
RecordsSubject to assert information within a list of records.events - List of SplunkEvents in Splunk SplunkEvent format to use in the
comparison.