{"repo":"tom-draper/log-analyzer","free":true,"listed":false,"github":"https://github.com/tom-draper/log-analyzer","clone":"git clone https://github.com/tom-draper/log-analyzer.git","description":"Turn log files into a dashboard in seconds.","language":"Go","stars":25,"topics":["dashboard","log-analysis","log-analytics","log-analyzer","logger","logging","analytics","analyzer","database-logs","server-log"],"license":"MIT","category":"dashboards-admin","readme_excerpt":"Log Analyzer Turn unstructured log files into a dashboard in seconds. Example A log file named demo.log : In config/config.json , define some simple patterns featured in your log files using a set of tokens to control which values should be extracted. These tokens can have any identifying name, and will be grouped across all patterns and targeted for extraction from the log file. - patterns : a list of string patterns found in your log file - tokens : all unique tokens used across your patterns, representing the values that should be targeted for extraction Run the log analyzer, providing the path to your log file. The tokens are extracted from the log file and their data types inferred. Any timestamps are parsed without needing to specify a format. Finally, your dashboard is generated. Docker If preferred, you can build and run using Docker. Mount your log directory and map the port to access the dashboard from your host. Advanced Config Data Types Data types are inferred by default, but it may not always be possible to correctly identify the intended type of a value. You can provide explicit data types to help the parser with one of the following prefixes on your token name: int , float , str , bool , time and ip . If a token value fails to be converted into the explicit data type specified by its prefix, the value is excluded from the dashboard instead of reverting to the default string type. Data type warnings can be found at the bottom of your dashboard, highlighting tok","default_branch":null,"files":null,"tree":[],"storefront":"/r/tom-draper","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tom-draper/log-analyzer/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."}