Skip to content

Instantly share code, notes, and snippets.

View ShubhanjanMedhi-dev's full-sized avatar

Shubhanjan Medhi ShubhanjanMedhi-dev

View GitHub Profile
https://api.squadcast.com/global/v1/<alert_source_shortname>/<global_routing_key>
payload.stateChange="down"
{
"webhookId": "5e3378c2-275d-11e8-89db",
"monitorId": "1afb2342-2754-11e8-89db",
"monitorName": "Example",
"monitorAddress": "http://example.adminlabs.com/example.html",
"stateChange": "down",
"outageId": "4fd5c5df-275d-11e8",
"outageStartedAt": "2018-03-14 08:57:09",
"outageEndedAt": null,
"maintenanceId": null
GET/bank /_search
{
"query": {
"bool": {
"must": [
{
"bool": {
"should": [
{ "match": { "address_name": "lane" } },
{ "match": { "address_name": "street" } }
PS > .\filebeat.exe setup -e
.\filebeat.exe modules list
output.elasticsearch:
hosts: ["localhost:9200"]
username: "your_username"
password: "your_password"
output.elasticsearch:
hosts: ["localhost:9200"]
PowerShell.exe -ExecutionPolicy UnRestricted -File .\install-service-filebeat.ps1
apiVersion: v1
kind: Pod
metadata:
name: my-pod
spec:
tolerations:
- key: "dedicated"
operator: "Equal"
value: "test"
effect: "NoSchedule"