chasers

chasers

Logflare Logger Backend

Anyone interested in another logging thing?

I’ve been building out Logflare with Elixir, which has been great. Initially for Cloudflare customers via the Cloudflare app, but doing this made me want a bit more out of the Elixir logging ecosystem.

Announcing the Logflare Logger backend!

You can easily pump your structured (or not) Elixir logs to Logflare, which then automatically get inserted into a BigQuery table you can query and own directly.

We’ve been using it on production ourselves for a few weeks now. Here is a dashboard I’m using (we need to upgrade our box soon actually).

The whole idea really is that you should log structured data, and you should be able to log liberally into an inexpensive datastore that you can query over the long term. So essentially Logflare is just a fancy queue into BigQuery. Ultimately we should be able to do this a lot cheaper than your standard ELK based log management system because we’re not going to be marketing up the storage at all and BigQuery is way cheaper than Elastic. You Bring Your Own Backend™, and just pay Logflare to get the data there.

I don’t really want to get into the whole logs vs metrics debate because everything breaks at some scale and it’s always good to use the right tool for the job, but I think 95% of apps could just log structured events to a database instead of using statsd-like things. This gets you a ton of benefits over a timeseries db. Honeycomb.io, for example, is also pushing event-based metrics over a statd-like system.

I also am not saying telemetry is bad, because it’s awesome and I think Elixir needs standardized monitoring hooks. We actually hope to have a telemetry backend soon. It’s more the underlying storage I have an issue with, which is also why we ultimately want you to be able to use other databases than BigQuery (eventually).

Anyways, would love some feedback on this whole thing. Our Cloudflare users seem to really like it, and I’m hoping the Elixir community will too.

ps: None of this would even be possible without everything that Elixir/Phoenix is. I’ve been in the software business for over 10 years and I haven’t been this excited about something in a very long time.

pps: We should have LiveView based search done next week:

Most Liked

chasers

chasers

Logflare Logger Backend is now compatible with new context keys for Elixir 1.10.

I should probably post about this a bit more but in terms of the product Logflare itself, we’re now basically feature matched with something like Papertrail (in terms of streaming, searching, alerting and user access). Working on billing now, and are planning to go v1 once billing is launched. Oh, and we have a Zeit integration also if anyone has any (non-Elixir) stuff on Zeit.

Would love some feedback from Elixir folks!

chasers

chasers

And now you can send your browser security reports to Logflare!

Set your Report-To url to https://api.logflare.app/logs/browser/reports?api_key=KEY&source_id=SOURCE and we’ll take in everything the reporting API sends over. So ideally you can do something like this for CSP, NEL, crash, intervention etc reports:

https://p195.p4.n0.cdn.getcloudapp.com/items/5zuyB9wk/Screen+Shot+2020-03-06+at+10.22.20+AM.png?v=bf904058cbb874ae61b8b0bde5edf00e

chasers

chasers

Big update to our search UI … we now have a Date/Time picker, and the whole form is an actual query builder.

One really cool part of this is that if you have the Logflare UI set to local time it automatically converts your query to UTC.

It’s super easy to do timestamp ranges with t:2020-04-10T01:{50..55}:00

And we support microsecond time ranges like t:2020-04-08T07:40:02.{000001..999999}

https://p195.p4.n0.cdn.getcloudapp.com/items/4guy0P1w/Screen%20Recording%202020-04-10%20at%2012.13%20PM.gif?v=0fa3309471a0006b632fc2c61e723821

Now to finish billing…

Where Next?

Popular in Discussions Top

blackode
Elixir Upgrading is so Simple in Ubuntu and It worked for me Ubuntu 16.04 git clone https://github.com/elixir-lang/elixir.git cd elixir...
New
griffinbyatt
Sobelow Sobelow is a security-focused static analysis tool for the Phoenix framework. For security researchers, it is a useful tool for g...
New
crabonature
I’m still quite new to Elixir. As I understand we got in Elixir “multi guards” as convention to simplify one large guard with or’s?: de...
New
AstonJ
If so I (and hopefully others!) might have some tips for you :slight_smile: But first, please say which area you’re finding most challen...
New
jeramyRR
This is an interesting article to read. Elixir’s performance, like usual, is excellent. However, it seems like the high CPU usage is co...
New
fireproofsocks
This is more of a general question, but I’m wondering how other people in the community think about the pattern matching in function sign...
New
opsb
We’re considering our architecture from a viewpoint of scaling our traffic heavily over the next 6 months. Our current deployment is runn...
New
Rustixir
Hi everyone, im working on find best language/framework/system for high concurrency, high performance and stable performance after wor...
New
laiboonh
Hi all, I am trying to convince my team to use liveview over the current react. What are some of the points where one should consider us...
New
jswny
I would like to better understand what the advantages/disadvantages of umbrella applications are compared to structuring your app as as s...
New

Other popular topics Top

Qqwy
Update: How to use the Blogs & Podcasts section You can post links to your blog posts or podcasts either in one of the Official Blog...
3271 126479 1222
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New
AstonJ
We’ve put together this wiki for Phoenix LiveView - please feel free to add any info you feel is worth including. What is Phoenix LiveV...
New
AstonJ
Seen any cool LiveView demos, sample apps or examples? Please post them here! :003:
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
chrismccord
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
malloryerik
Hi, this is for people who, like me, have had some friction using .html.heex templates in VSCode. The solution seems to be, in a hyphena...
New

We're in Beta

About us Mission Statement