Skip to content

Instantly share code, notes, and snippets.

@fetep
Created July 5, 2012 21:23
Show Gist options
  • Save fetep/3056566 to your computer and use it in GitHub Desktop.
Save fetep/3056566 to your computer and use it in GitHub Desktop.

logstash config snippet:

output {
    elasticsearch {
        host => "localhost"
        node_name => "logstash-test1"
    }
}

elasticsearch log line:

[2012-07-05 17:22:58,955][INFO ][cluster.service          ] [Asp] added {[logstash-test1][WjGRwQ7gQuCkwJgdDrX0PQ][inet[/192.168.1.108:9302]]{client=true, data=false},}, reason: zen-disco-receive(from master [[Sinclair, Rahne][JvWqFB31ST2Ohcw4J8PLLg][inet[/192.168.1.108:9300]]])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment