{"repo":"getsentry/sentlog","free":true,"listed":false,"github":"https://github.com/getsentry/sentlog","clone":"git clone https://github.com/getsentry/sentlog.git","description":"CLI util for parsing arbitrary text data and sending error-like events to Sentry","language":"Go","stars":18,"topics":["sentry","logging","grok","golang","go","tag-non-production"],"license":"MIT","category":"cli-tools","readme_excerpt":"sentlog This is a Sentry Hackweek project! Development may stop anytime. You've been warned. sentlog is a command-line tool that can read arbitrary text files (e.g., webserver or database logs), search for specific user-defined patterns, and report the findings to Sentry. Table of Contents - Introduction - Downloads - Command Line Arguments - Example - Configuration File - About Patterns Introduction Sentry provides SDKs for a lot of different platforms and frameworks. However, you might also want to use Sentry for parts of your infrastructure that were not developed by you, or don't have an integration with Sentry (yet): databases, web servers, and even operating system kernels. What do these tools have in common? They normally have some sort of output (i.e. logs), where both regular events and errors are usually logged. So why not parsing those logs and look for entries that look like errors? We can do that. And what platform do we usually use for error management? Sentry, of course! And this is when sentlog steps in. Downloads sentlog binaries can be downloaded from GitHub releases. Command Line Arguments sentlog can operate in two modes: 1. Basic: filename and pattern are specified on the command line 2. Advanced: using the configuration file provided by --config argument Example The following example shows how you can run sentlog in Basic mode. ...will watch the PostgreSQL log ( /var/log/postgresql/postgresql-9.6.log ) for events that look like this: sentlog will extract","default_branch":null,"files":null,"tree":[],"storefront":"/r/getsentry","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/getsentry/sentlog/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}