eventlogentryreport

package
v2.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventLogEntryReport

type EventLogEntryReport struct {
	// The start time in the time range used to generate the event log report
	StartTime int `json:"startTime,omitempty"`

	// The end time in the time range used to generate the event log report
	EndTime  int    `json:"endTime,omitempty"`
	Page     int    `json:"page,omitempty"`
	PageSize string `json:"pageSize,omitempty"`

	// Filters the list based on the category for which the events were recorded.
	Category string `json:"category,omitempty"`

	// Filters the list based on areas within a category where the events were recorded
	Subcategories []string `json:"subcategories,omitempty"`

	// Filters the list based on the outcome (i.e., Failure or Success) of the events recorded
	ActionResult string `json:"actionResult,omitempty"`

	// The search string used to match against the event log message
	Message string `json:"message,omitempty"`

	// The search string used to match against the error code in event log entries
	ErrorCode string `json:"errorCode,omitempty"`

	// The search string used to match against the status code in event log entries
	StatusCode string `json:"statusCode,omitempty"`
}

type EventLogEntryReportTaskInfo

type EventLogEntryReportTaskInfo struct {
	// Status of running task
	Status string `json:"status,omitempty"`

	// Number of items processed
	ProgressItemsComplete int `json:"progressItemsComplete,omitempty"`

	// End time
	ProgressEndTime int `json:"progressEndTime,omitempty"`

	// Error message
	ErrorMessage string `json:"errorMessage,omitempty"`
	ErrorCode    string `json:"errorCode,omitempty"`
}

type Service

type Service struct {
	Client *zia.Client
}

func New

func New(c *zia.Client) *Service

func (*Service) Create

func (service *Service) Create(eventLog *EventLogEntryReport) (*EventLogEntryReport, error)

func (*Service) GetAll

func (service *Service) GetAll() ([]EventLogEntryReportTaskInfo, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL