Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@clodio
clodio / logstash-waadeo.conf
Created June 1, 2017 17:26
logstash-waadeo
#cat tests-data/input/taa_aa_u2_prod_aa_metier.log | bin/logstash.bat --path.settings=config/ -f test.conf
input { stdin { }
}
filter {
mutate {
gsub => ["message", "\t", '|']
gsub => ["message", "ZTD.-.ZTF", 'ZTD.none-none.ZTF']
gsub => ["message", ";", '']
}
@clodio
clodio / logstash.conf
Created May 31, 2017 06:54
logstash waadeo
#####################################################################
# Fichier de configuration logstash pour les logs web waadeo
# claude.seguret@laposte.fr
######################################################################
# Outil indispensable pour groker (regexp du log à dépouper)
# https://grokdebug.herokuapp.com/discover?#
# Exemple de log
# [24/May/2017:08:58:48 +0200]|ZTD.WSUvKN1ARvAAAEzDEBEAAAAD.ZTF|221.64.70.5|200.108.141.82|19651|2434|2163|-|-|-|0|26091|200|POST /appli/ihm-xml/zack-crossdomain/call?service=geopad HTTP/1.1|test|Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0|-|-|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# Config file for collectd(1).
#
# Some plugins need additional configuration and are disabled by default.
# Please read collectd.conf(5) for details.
#
# You should also read /usr/share/doc/collectd-core/README.Debian.plugins
# before enabling any more plugins.
##############################################################################
# Global #
#!/bin/bash
#
# FROM Nagios script to check website is up and responding in a timely manner
# Written by Chris Freeman (cfree6223@gmail.com)
# Version 1.1
# (c) GPLv2 2011
#
# Special thanks to dkwiebe and Konstantine Vinogradov for suggestions and feedback
#
# MODIFIED BY Claude seguret to add graphite metrics
@clodio
clodio / logstash.conf
Last active May 17, 2017 11:45
Serca ELK
#####################################################################
# Fichier de configuration logstash pour les logs serca tomcat
# claude.seguret@laposte.fr, frederic.soulie@laposte.fr
######################################################################
# Outil indispensable pour groker (regexp du log à dépouper)
# https://grokdebug.herokuapp.com/discover?#
# Exemple de log
# 10/Feb/2017:00:00:05 +0100] 10.91.64.28 GET /services/mascadia/legacy/controle?idClient=EBOUTIQUE&passwdClient=pass HTTP/1.1 ?idClient=EBOUTIQUE&passwdClient=pass 200 1795 254
@clodio
clodio / .block
Last active January 19, 2017 20:09 — forked from mbostock/.block
Treemap
border: no
height: 600
license: gpl-3.0