This file contains hidden or 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
# the domain we want to get the cert for; | |
# technically it's possible to have multiple of this lines, but it only worked | |
# with one domain for me, another one only got one cert, so I would recommend | |
# separate config files per domain. | |
domains = webhook.idelivr.info | |
# increase key size | |
rsa-key-size = 2048 # Or 4096 | |
# the current closed beta (as of 2015-Nov-07) is using this server |
This file contains hidden or 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
init_config: | |
instances: | |
- host: djangotest2.cnf9tnp58ewd.ap-southeast-1.rds.amazonaws.com | |
port: 5432 | |
username: datadog1 | |
password: AivZXZyy5UR3hCvLDatGwWsU | |
# username: my_username | |
# password: my_password |
This file contains hidden or 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
init_config: | |
instances: | |
# The URL where elasticsearch accepts HTTP requests. This will be used to | |
# fetch statistics from the nodes and information about the cluster health. | |
# | |
# If you're using basic authentication with a 3rd party library, for example | |
# elasticsearch-http-basic, you will need to specify a value for username | |
# and password for every instance that requires authentication. | |
# |
This file contains hidden or 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
init_config: | |
instances: | |
# For every instance, you need an `nginx_status_url` and can optionally | |
# supply a list of tags. This plugin requires nginx to be compiled with | |
# the nginx stub status module option, and activated with the correct | |
# configuration stanza. On debian/ubuntu, this is included in the | |
# `nginx-extras` package. For more details, see: | |
# | |
# http://docs.datadoghq.com/integrations/nginx/ |
This file contains hidden or 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
################### Filebeat Configuration Example ######################### | |
############################# Filebeat ###################################### | |
filebeat: | |
# List of prospectors to fetch data. | |
prospectors: | |
# Each - is a prospector. Below are the prospector specific configurations | |
- | |
# Paths that should be crawled and fetched. Glob based paths. | |
# To fetch all ".log" files from a specific level of subdirectories |
This file contains hidden or 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 { | |
beats { | |
port => 5044 | |
codec => multiline { | |
pattern => "^%{TIMESTAMP_ISO8601} " | |
negate => true | |
what => previous | |
} | |
} | |
} |
This file contains hidden or 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 { | |
file { | |
path => "/home/ubuntu/idelivr-backend/*.log" | |
start_position => beginning | |
codec => multiline { | |
pattern => "^%{TIMESTAMP_ISO8601} " | |
negate => true | |
what => previous | |
} | |
} |
This file contains hidden or 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
DJANGO_LOGLEVEL (DEBUG|INFO|ERROR|WARNING|CRITICAL) | |
DJANGO_LOG %{DJANGO_LOGLEVEL:log_level}\s+%{TIMESTAMP_ISO8601:log_timestamp}\s+%{TZ:log_tz}\s+%{NOTSPACE:logger}\s+%{WORD:module}\s+%{POSINT:proc_id}\s+%{GREEDYDATA:content} |
This file contains hidden or 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
server { | |
listen 80; | |
server_name kibanadev.idelivr.info; | |
auth_basic "Restricted Access"; | |
auth_basic_user_file /etc/nginx/htpasswd.users; | |
location / { | |
proxy_pass http://localhost:5601; |
This file contains hidden or 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
server { | |
server_name popioka.idelivr.info; | |
access_log off; | |
location /static_local/ { | |
alias /home/ubuntu/bookmyspot/v2/static_local/; | |
} | |
location /static/ { |