@chasers Thanks for making Logflare! It looks pretty great. I tried out the URL @slouchpie provided, but ran into a small problem. Logflare receives the data and displays what it received, but does not seem to parse the lines according to the format we are sending. I looked around for documentation, but couldn’t find anything that exactly fits.
We drain logs to HTTPS endpoints using the same format as Heroku, described here: https://devcenter.heroku.com/articles/log-drains#https-drains. In fact, we use Heroku’s logplex router to do the draining so supporting this format means you’ll support both Heroku and Gigalixir.
This is an example log line I see on Logflare.
217 <190>1 2020-08-08T16:12:15.382251+00:00 host bar bar-587b6c56bd-6j9sq - e[36mweb.1 | e[0m16:12:15.381 [warn] [libcluster:k8s_example] kubernetes strategy is selected, but :kubernetes_node_basename is not configured!
217 <190>1, which is metadata.
Also, as a side note, would you be able to handle the ANSI control sequences, such as those surrounding
web.1 | inside the logs, which change the colors? For what it’s worth, Timber displayed the colors, but I totally understand if it’s not a priority.
Let me know if we should move this discussion to a separate channel/thread. Thanks!