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
################################################################## | |
# /etc/elasticsearch/elasticsearch.yml | |
# | |
# Base configuration for a write heavy cluster | |
# | |
# Cluster / Node Basics | |
cluster.name: logng | |
# Node can have abritrary attributes we can use for routing |
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
import pandas | |
import numpy as np | |
import scipy | |
import statsmodels.api as sm | |
import os | |
import sys | |
import json | |
import traceback | |
import logging | |
from time import time |
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
https://discuss.elastic.co/t/logstash-udp-input-queue-size/24253 |
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
http://dekiwiki.ties2.net/Fortinet/Fortinet_SSL_VPN_Client_Installers | |
http://dekiwiki.ties2.net/@api/deki/files/290/=forticlientsslvpn_linux_4.0.2289.tar.gz | |
sudo apt-get install libgtk2.0-0:i386 |
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/elasticsearch -d -p /var/run/elasticsearch_http.pid --default.config=/etc/elasticsearch/http/elasticsearch.yml --default.path.home=/usr/share/elasticsearch --default.path.logs=/var/log/elasticsearch --default.path.data=/var/lib/elasticsearch --default.path.work=/tmp/elasticsearch --default.path.conf=/etc/elasticsearch/http |
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
{ | |
"query": { | |
"filtered": { | |
"query": { | |
"query_string": { | |
"query": "categoryBehavior:\"/Authorization*\" OR categoryBehavior:\"/Authentication*\" -(categoryBehavior:\"/Authorization/Verify\") -(categoryBehavior:\"/Authentication/Verify\")", | |
"analyze_wildcard": true | |
} | |
}, | |
"filter": { |
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
var watchify = require('watchify'); | |
var browserify = require('browserify'); | |
var paths = { | |
lib: './www/lib/index.js', | |
dist: './www/js/' | |
}; | |
var bundler = browserify(paths.lib, browserify.args); |
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
var dgram = require("dgram"); | |
var fs = require("fs"); | |
var stream = fs.createWriteStream("received.json",{ flags: 'w', | |
encoding: "utf8", | |
mode: 0666 }); | |
var server = dgram.createSocket("udp4"); | |
server.on("message", function (msg, rinfo) { | |
console.log("server got: " + msg + " from " + | |
rinfo.address + ":" + rinfo.port); |
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
$ git ls-files --stage wiki | |
160000 5a7f18e56b951d94d087887a678c3b6654def187 0 wiki | |
$ git rm --cached wiki | |
rm 'wiki' | |
$ git submodule add https://github.com/joola/joola.wiki.git wiki | |
Adding existing repo at 'wiki' to the index |
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
sudo /usr/share/elasticsearch/bin/plugin -install polyfractal/elasticsearch-kopf | |
sudo /usr/share/elasticsearch/bin/plugin -install polyfractal/elasticsearch-inquisitor |