package
0.0.3
Repository: https://github.com/useproject/origin-elastic.git
Documentation: pkg.go.dev

# Functions

CreateFullEvent builds a full event given the data generated by a MetricSet.
NewEventFetcher instantiates a new EventFetcher using the given configuration.
NewEventsFetcher instantiates a new EventsFetcher using the given configuration.
NewPushMetricSet instantiates a new PushMetricSet using the given configuration.
NewPushMetricSetV2 instantiates a new PushMetricSetV2 using the given configuration.
No description provided by the author
NewReportingMetricSetV2 returns a new ReportingMetricSetV2 instance.
No description provided by the author
ReportingFetch runs the given reporting metricset and returns all of the events and errors that occur during that period.
ReportingFetchV2 runs the given reporting metricset and returns all of the events and errors that occur during that period.
RunPushMetricSet run the given push metricset for the specific amount of time and returns all of the events and errors that occur during that period.
RunPushMetricSetV2 run the given push metricset for the specific amount of time and returns all of the events and errors that occur during that period.
StandardizeEvent builds a beat.Event given the data generated by a MetricSet.
WriteEvent fetches a single event writes the output to a ./_meta/data.json file.
WriteEvents fetches events and writes the first event to a ./_meta/data.json file.
WriteEventsCond fetches events and writes the first event that matches the condition to a ./_meta/data.json file.
WriteEventsReporterV2 fetches events and writes the first event to a ./_meta/data.json file.
WriteEventToDataJSON writes the given event as "pretty" JSON to a ./_meta/data.json file.

# Structs

CapturingReporterV2 is a reporter used for testing which stores all events and errors.
No description provided by the author