Skip to content

Instantly share code, notes, and snippets.

View Saeed-Khamseh's full-sized avatar
😊

Saeed Saeed-Khamseh

😊
View GitHub Profile
@kmonsoor
kmonsoor / grafana.ini
Created August 2, 2017 15:23
Sample SMTP configuration for Grafana with Gapps account
#### other settings ...
[smtp]
enabled = true
host = smtp.gmail.com:465
user = grafana-bot@organization.com
password = """PASSWORD"""
from_address = grafana-bot@organization.com
from_name = Grafana Bot
;cert_file =
@thejuan
thejuan / IIS Logstash Grok
Created February 21, 2014 18:16
A Logstash Grok filter for IIS (W3C default fields + bytes sent)
filter{
grok {
match => ["message", "%{TIMESTAMP_ISO8601:log_timestamp} %{WORD:iisSite} %{IPORHOST:site} %{WORD:method} %{URIPATH:page} %{NOTSPACE:querystring} %{NUMBER:port} %{NOTSPACE:username} %{IPORHOST:clienthost} %{NOTSPACE:useragent} %{NOTSPACE:referer} %{NUMBER:response} %{NUMBER:subresponse} %{NUMBER:scstatus} %{NUMBER:bytes:int} %{NUMBER:timetaken:int}"]
}
}