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
| cluster.name: ${ES_CLUSTERNAME} | |
| node.name: ${HOSTNAME} | |
| network.host: 0.0.0.0 | |
| discovery.zen.ping.multicast.enabled: true |
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 | |
| { | |
| tcp | |
| { | |
| port => 25827 | |
| type => syslog | |
| } | |
| udp | |
| { | |
| port => 25827 |
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 | |
| { | |
| redis | |
| { | |
| host => "redis-cache" | |
| type => "redis-input" | |
| data_type => "list" | |
| key => "logstash" | |
| } | |
| } |
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
| #region Setup subscription and script variables | |
| ## Get up your credentials (only if using Azure AD ) | |
| # credentialSubscription = Get-Credential | |
| # Add-AzureAccount -Credential | |
| ## Enable debugging ? | |
| # $DebugPreference ='Continue' | |
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
| param | |
| ( | |
| [string]$PathToModule='C:\temp\Cos.psm1', | |
| [string]$ModuleName = 'cos', | |
| [string]$OutputFolderPath='C:\temp', | |
| [string]$ResultFileNamePrefix='cos_module', | |
| [string]$ResultFileNameSuffix = 'md' | |
| ) | |
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
| #!/bin/bash | |
| dir=`pwd` | |
| if [ $# -lt 1 ]; then | |
| echo "Please specify clustername" | |
| exit | |
| fi | |
| sudo mkdir -p ${dir}/elasticsearch/data |
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
| FROM php:5.6-apache | |
| RUN apt-get update && apt-get install -y \ | |
| bzip2 \ | |
| libcurl4-openssl-dev \ | |
| libfreetype6-dev \ | |
| libicu-dev \ | |
| libjpeg-dev \ | |
| libmcrypt-dev \ | |
| libmemcached-dev \ |
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
| #! /bin/bash | |
| # Upload all the files from a local folder to an azure storage container. | |
| usage() | |
| { | |
| cat << EOF | |
| usage: $0 options | |
| OPTIONS: | |
| -d The local folder from which files will be upload to azure storage blob. |
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
| description "Nomad by HashiCorp" | |
| start on runlevel [2345] | |
| stop on runlevel [!2345] | |
| respawn | |
| script | |
| # CONFIG_DIR=/usr/local/etc/nomad | |
| # mkdir -p $CONFIG_DIR |