Skip to content

Instantly share code, notes, and snippets.

View eunomie's full-sized avatar

Yves Brissaud eunomie

View GitHub Profile
@eunomie
eunomie / taylor.elm
Last active February 26, 2016 06:22
import List exposing (sum, map, foldl)
pow : Float -> Float -> Float
pow num p =
if p == 0 then
1
else if p > 0 then
num * (pow num (p - 1))
else
1 / num * (pow num (p + 1))
@eunomie
eunomie / README.md
Created April 27, 2017 09:44
How to send containers log to ELK using gelf log driver

Send docker logs to ELK through gelf log driver

There's so many way to send logs to an elk... logspout, filebeat, journalbeat, etc.

But docker has a gelf log driver and logstash a gelf input. So here we are.

Here is a docker-compose to test a full elk with a container sending logs via gelf.

{
"service": {
"name": "node-exporter",
"port": 9100
}
}

Buns

Recette pour 15-16 pains à hamburger. Il est aisé de la diviser par 2 si besoin de plus petites quantités. Il est aussi possible de diviser les boules en 2 pour en faire des petits, pour les enfants ou l'apéro.

Ingrédients