Skip to content

Instantly share code, notes, and snippets.

exports.shibb_request = async (url, options) => {
options = options || {};
// step 1 in shibb handshake process
const shibbAuthHandshakeStep1 = async ( response, idp_server ) => {
return response.text().then( data => {
// Parse the html page shibboleth redirected us to
# pipelines.yml
- pipeline.id: pipeline-1
path.config: "/etc/logstash/pipelines/p1.conf"
pipeline.workers: 1
- pipeline.id: pipeline-2
path.config: "/etc/logstash/pipelines/p2.conf"
pipeline.workers: 1
- pipeline.id: pipeline-3
path.config: "/etc/logstash/pipelines/p3.conf"
@bgeels
bgeels / Example Large Logstash Config
Created December 15, 2017 16:03
example of a logstash configuration file with 1000 conditional statements
input {
http {
host => "127.0.0.1" # default: 0.0.0.0
port => 8080
}
}
filter{
if [device] == 'device_0' and [network] == 'network_b' {