All Projects → nxadm → Tail

nxadm / Tail

Licence: mit
[Revamped] Go package for reading from continuously updated files (tail -f)

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Tail

Stern
⎈ Multi pod and container log tailing for Kubernetes -- Friendly fork of https://github.com/wercker/stern
Stars: ✭ 268 (+230.86%)
Mutual labels:  logging, tail
Sigma
Generic Signature Format for SIEM Systems
Stars: ✭ 4,418 (+5354.32%)
Mutual labels:  monitoring, logging
Analog
PHP logging library that is highly extendable and simple to use.
Stars: ✭ 314 (+287.65%)
Mutual labels:  monitoring, logging
Applicationinsights Home
Application Insights main repository for documentation of overall SDK offerings for all platforms.
Stars: ✭ 221 (+172.84%)
Mutual labels:  monitoring, logging
Justlog
JustLog brings logging on iOS to the next level. It supports console, file and remote Logstash logging via TCP socket with no effort. Support for logz.io available.
Stars: ✭ 439 (+441.98%)
Mutual labels:  monitoring, logging
Applicationinsights Node.js
Microsoft Application Insights SDK for Node.js
Stars: ✭ 229 (+182.72%)
Mutual labels:  monitoring, logging
Ckss Certified Kubernetes Security Specialist
This repository is a collection of resources to prepare for the Certified Kubernetes Security Specialist (CKSS) exam.
Stars: ✭ 333 (+311.11%)
Mutual labels:  monitoring, logging
Logsuck
Easy log aggregation, indexing and searching
Stars: ✭ 154 (+90.12%)
Mutual labels:  monitoring, logging
Riemann
A network event stream processing system, in Clojure.
Stars: ✭ 4,099 (+4960.49%)
Mutual labels:  monitoring, logging
Log Process Errors
Show some ❤️ to Node.js process errors
Stars: ✭ 424 (+423.46%)
Mutual labels:  monitoring, logging
Golib
Go Library [DEPRECATED]
Stars: ✭ 194 (+139.51%)
Mutual labels:  monitoring, logging
Logbook
An extensible Java library for HTTP request and response logging
Stars: ✭ 822 (+914.81%)
Mutual labels:  monitoring, logging
Sematext Agent Docker
Sematext Docker Agent - host + container metrics, logs & event collector
Stars: ✭ 194 (+139.51%)
Mutual labels:  monitoring, logging
Sysmon Config
Sysmon configuration file template with default high-quality event tracing
Stars: ✭ 3,287 (+3958.02%)
Mutual labels:  monitoring, logging
Exceptionless
Exceptionless server and jobs
Stars: ✭ 2,107 (+2501.23%)
Mutual labels:  monitoring, logging
Longview
Linode Longview Agent
Stars: ✭ 319 (+293.83%)
Mutual labels:  monitoring, logging
Applicationinsights Python
Application Insights SDK for Python
Stars: ✭ 114 (+40.74%)
Mutual labels:  monitoring, logging
Volkszaehler.org
Open Source Smart Meter with focus on privacy - you remain the master of your data.
Stars: ✭ 150 (+85.19%)
Mutual labels:  monitoring, logging
Applicationinsights Dotnet
ApplicationInsights-dotnet
Stars: ✭ 367 (+353.09%)
Mutual labels:  monitoring, logging
Stern
⎈ Multi pod and container log tailing for Kubernetes
Stars: ✭ 5,614 (+6830.86%)
Mutual labels:  logging, tail

Go Reference ci FreeBSD

tail functionality in Go

nxadm/tail provides a Go library that emulates the features of the BSD tail program. The library comes with full support for truncation/move detection as it is designed to work with log rotation tools. The library works on all operating systems supported by Go, including POSIX systems like Linux, *BSD, MacOS, and MS Windows. Go 1.9 is the oldest compiler release supported.

A simple example:

// Create a tail
t, err := tail.TailFile(
	"/var/log/nginx.log", tail.Config{Follow: true, ReOpen: true})
if err != nil {
    panic(err)
}

// Print the text of each received line
for line := range t.Lines {
    fmt.Println(line.Text)
}

See API documentation.

Installing

go get github.com/nxadm/tail/...

History

This project is an active, drop-in replacement for the abandoned Go tail library at hpcloud. Next to addressing open issues/PRs of the original project, nxadm/tail continues the development by keeping up to date with the Go toolchain (e.g. go modules) and dependencies, completing the documentation, adding features and fixing bugs.

Examples

Examples, e.g. used to debug an issue, are kept in the examples directory.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].