Skip to content

unomaly/ingest-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unomaly ingest-go

Go library to send your logs to Unomaly, https://unomaly.com

 
// Initialize the library
ingest := ingest.Init("my.unomaly.host")

// Flush all data to Unomaly before exiting
defer ingest.Close()

// Add an event to the queue. The library will take care of batching and sending events to Unomaly
ingest.send(&ingest.Event{
    				Message:   "Hello, World!",
    				Source:    "My-system",
    				Timestamp: time.Now(),
    				Metadata:  nil,
})

About

Go library to send your events to Unomaly, https://unomaly.com

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages