This file contains 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
#!/usr/bin/env bash | |
# | |
# Helper functions for certificate generation. | |
# | |
ROOT_DIR=${1} | |
CERT_OUTPUT_DIR=${1}/output/certs | |
source ${ROOT_DIR}/helpers.sh | |
function get_certs_base_dir { |
This file contains 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 _process, _process$env; | |
function ownKeys(object, enumerableOnly) { | |
var keys = Object.keys(object); | |
if (Object.getOwnPropertySymbols) { | |
var symbols = Object.getOwnPropertySymbols(object); | |
enumerableOnly && (symbols = symbols.filter(function(sym) { | |
return Object.getOwnPropertyDescriptor(object, sym).enumerable | |
})), | |
keys.push.apply(keys, symbols) | |
} |
This file contains 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
// Copyright (c) Tetrate, Inc 2023 All Rights Reserved. | |
package service | |
import ( | |
"context" | |
"encoding/json" | |
"errors" | |
"fmt" | |
"io" |
This file contains 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
2021-04-27T22:33:17.356198Z info FLAG: --appNamespace="" | |
2021-04-27T22:33:17.356817Z info FLAG: --caCertFile="" | |
2021-04-27T22:33:17.356827Z info FLAG: --clusterID="cluster1" | |
2021-04-27T22:33:17.356833Z info FLAG: --clusterRegistriesNamespace="istio-system" | |
2021-04-27T22:33:17.356838Z info FLAG: --configDir="" | |
2021-04-27T22:33:17.356843Z info FLAG: --ctrlz_address="localhost" | |
2021-04-27T22:33:17.356851Z info FLAG: --ctrlz_port="9876" | |
2021-04-27T22:33:17.356856Z info FLAG: --domain="cluster.local" | |
2021-04-27T22:33:17.356862Z info FLAG: --grpcAddr=":15010" | |
2021-04-27T22:33:17.356869Z info FLAG: --help="false" |
This file contains 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
# oc logs control-center-3873347051-xgv9x -f | |
#Ignoring Mesos override errors | |
. /etc/confluent/docker/apply-mesos-overrides || true | |
+ . /etc/confluent/docker/apply-mesos-overrides | |
#!/usr/bin/env bash | |
# | |
# Copyright 2016 Confluent Inc. | |
# |
This file contains 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
{ | |
"name": "John Doe", | |
"age": 42, | |
"links": [ { | |
"rel": "self", | |
"href": "http://localhost:8080/user/0" | |
}, { | |
"rel": "address", | |
"href": "http://localhost:8080/user/0/address" | |
} ] |
This file contains 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
{ | |
"name": "John Doe", | |
"age": 42, | |
"links": [ { | |
"rel": "self", | |
"href": "http://localhost:8080/user/0" | |
}, { | |
"rel": "address", | |
"href": "http://localhost:8080/user/0/address" | |
} ] |
This file contains 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
Wed Jan 25 14:13:09 UTC 2017 |
This file contains 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
NGUSERNAME [a-zA-Z\.\@\-\+_%]+ | |
NGUSER %{NGUSERNAME} | |
NGINXACCESS %{IPORHOST:clientip} %{NGUSER:ident} %{NGUSER:auth} \[%{HTTPDATE:timestamp}\] "%{WORD:verb} %{URIPATHPARAM:request} HTTP/%{NUMBER:httpversion}" %{NUMBER:response} (?:%{NUMBER:bytes}|-) (?:"(?:%{URI:referrer}|-)"|%{QS:referrer}) %{QS:agent} | |
NGINXERROR1 (?<timestamp>%{YEAR}[./-]%{MONTHNUM}[./-]%{MONTHDAY}[- ]%{TIME}) \[%{LOGLEVEL:severity}\] %{POSINT:pid}#%{NUMBER}: %{GREEDYDATA:errormessage}(?:, client: (?<client>%{IP}|%{HOSTNAME}))(?:, server: %{IPORHOST:server})(?:, request: %{QS:request})(?:, upstream: %{QS:upstream})?(?:, host: %{QS:host})?(?:, referrer: \"%{URI:referrer}\") | |
NGINXERROR2 (?<timestamp>%{YEAR}[./-]%{MONTHNUM}[./-]%{MONTHDAY}[- ]%{TIME}) \[%{LOGLEVEL:severity}\] %{POSINT:pid}#%{NUMBER}: %{GREEDYDATA:errormessage}(?:, client: (?<clientip>%{IP}|%{HOSTNAME}))(?:, server: %{IPORHOST:server})(?:, request: %{QS:request}) ??(?:, host: %{QS:host}) | |
NGINXERROR3 (?<timestamp>%{YEAR}[./-]%{MONTHNUM}[./-]%{MONTHDAY}[- ]%{TIME}) \[%{LOGLEVEL:se |
This file contains 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 | |
} | |
} | |
filter { | |
if [type] == "syslog" { | |
grok { | |
match => { "message" => "%{SYSLOGTIMESTAMP:syslog_timestamp} %{SYSLOGHOST:syslog_hostname} %{DATA:syslog_program}(?:\[%{POSINT:syslog_pid}\])?: %{GREEDYDATA:syslog_message}" } | |
add_field => [ "received_at", "%{@timestamp}" ] |
NewerOlder