package
2.0.0+incompatible
Repository: https://github.com/oz9un/log-slapper.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
prepareEventData prepares the event data with custom fields, source, host, sourcetype, an event, and an index name.
prepareHelloData prepares the initial data to be sent to the Splunk server.
ProcessConfigFile takes a YAML configuration file as input, parses it, and stores the data in variables.
SendLoginEvent sends a generated login event to the Splunk HEC endpoint.
sendDataToSplunk sends the formatted data to the Splunk server.
# Structs
Config represents the top-level configuration structure.
EventSettings holds the configuration for log events.
LogSettings holds the settings for the log data.
LoginEvent represents the structure of a login event sent to Splunk.
SplunkSettings holds Splunk specific configurations.