Skip to content

Instantly share code, notes, and snippets.

@sebclick
sebclick / docker-compose.yml
Created January 21, 2017 17:01
Docker-compose pour tester Graylog 2.2.0-beta6. Login et mdp : admin
version: '2'
services:
some-mongo:
image: "mongo:3"
some-elasticsearch:
image: "elasticsearch:2"
command: "elasticsearch -Des.cluster.name='graylog'"
graylog:
image: graylog2/server:2.2.0-beta.6-1
environment:
@sebclick
sebclick / gist:0341b2cdc0f620cdf6d3
Created June 1, 2014 12:56
Apache2 combined log extractor for Graylog2
{
"extractors": [
{
"condition_type": "regex",
"condition_value": "(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})",
"converters": [],
"cursor_strategy": "copy",
"extractor_config": {
"regex_value": "(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})"
},
@sebclick
sebclick / gist:747424f50efb971cb2fd
Last active August 29, 2015 14:02
Apache2 common log extractor for Graylog2
{
"extractors": [
{
"condition_type": "regex",
"condition_value": "(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})",
"converters": [],
"cursor_strategy": "copy",
"extractor_config": {
"regex_value": "(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})"
},