This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input { | |
tcp { | |
port => 5000 | |
type => "syslog" | |
host => "127.0.0.1" | |
} | |
udp { | |
port => 5000 | |
type => "syslog" | |
host => "127.0.0.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input { | |
redis { | |
host => "###REDIS_IP###" | |
type => "redis-input" | |
# these settings should match the output of the agent | |
data_type => "list" | |
key => "logstash" | |
# We use json_event here since the sender is a logstash agent | |
format => "json_event" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[program:lss] | |
process_name=Shipper | |
command=java -jar /usr/local/logstash/bin/logstash-1.1.9-monolithic.jar agent --config /usr/local/logstash/conf/shipper.conf --log /usr/local/logstash/log/shipper.log | |
user=logstash | |
startretries=3 | |
redirect_stderr=true | |
std_out_logfile=NONE | |
startsecs=3 | |
environment=HOME="/usr/local/logstash/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
#udpclient.pl | |
use IO::Socket::INET; | |
my $host = $ARGV[0]; | |
my $port = $ARGV[1]; | |
# flush after every write | |
$| = 1; | |
my ($socket,$logdata); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Access Logs | |
LogFormat "{ \ | |
\"@vips\":[\"%v\"], \ | |
\"@source\":\"%v%U%q\", \ | |
\"@source_host\": \"%v\", \ | |
\"@source_path\": \"%f\", \ | |
\"@tags\":[\"Apache\",\"Access\"], \ | |
\"@message\": \"%h %l %u %t \\\"%r\\\" %>s %b\", \ | |
\"@fields\": { \ | |
\"timestamp\": \"%{%Y-%m-%dT%H:%M:%S%z}t\", \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Error logging to LogStash via UDP client pipe | |
ErrorLog "||/usr/local/bin/udpclient.pl 127.0.0.1 5002" | |
LogLevel warn | |
# Access logging to LogStash via UDP client pipe | |
CustomLog "||/usr/local/bin/udpclient.pl 127.0.0.1 5001" ls_apache_json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Send syslog to LogStash | |
*.* @@127.0.0.1:5000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "logstash/outputs/base" | |
require "logstash/namespace" | |
require "socket" | |
# Log.io Output | |
# | |
# Sends events to a Log.io server over TCP. | |
# | |
# Plugin is fault tolerant. If the plugin is unable to connect to the server, | |
# or writes to a broken socket, it will attempt to reconnect indefinitely. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference path="../path/to/sugar.d.ts" /> | |
/** | |
* Usage Examples: | |
* sgObject.isArray([1]); // -> true | |
*/ | |
declare var sgObject:ObjectStatic; | |
declare var sgNumber:NumberStatic; | |
declare var sgDate:DateStatic; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mockup version="1.0" skin="sketch" fontFace="Balsamiq Sans" measuredW="1322" measuredH="912" mockupW="861" mockupH="861"> | |
<controls> | |
<control controlID="0" controlTypeID="com.balsamiq.mockups::Label" x="531" y="73" w="-1" h="-1" measuredW="520" measuredH="48" zOrder="3" locked="false" isInGroup="-1"> | |
<controlProperties> | |
<bold>true</bold> | |
<color>15658734</color> | |
<size>40</size> | |
<text>Triaging%20%26joyent/node%20%231234%26</text> | |
</controlProperties> | |
</control> |
OlderNewer