-
-
Save jacqui/4ea7b086d8da688b7385 to your computer and use it in GitHub Desktop.
streamtools pattern to monitor edits to wikipedia
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
{ | |
"Blocks": [ | |
{ | |
"Id": "2", | |
"Type": "fromwebsocket", | |
"Rule": { | |
"url": "ws://wikimon.hatnote.com:80/en/" | |
}, | |
"Position": { | |
"X": 143, | |
"Y": 55 | |
} | |
}, | |
{ | |
"Id": "5", | |
"Type": "filter", | |
"Rule": { | |
"Filter": "(.is_minor == false) && (.is_bot == false)" | |
}, | |
"Position": { | |
"X": 171, | |
"Y": 139 | |
} | |
}, | |
{ | |
"Id": "41", | |
"Type": "histogram", | |
"Rule": { | |
"Path": ".user", | |
"Window": "1h0m0s" | |
}, | |
"Position": { | |
"X": 410, | |
"Y": 482 | |
} | |
}, | |
{ | |
"Id": "27", | |
"Type": "tofile", | |
"Rule": { | |
"Filename": "/tmp/wiki.json" | |
}, | |
"Position": { | |
"X": 288, | |
"Y": 498 | |
} | |
}, | |
{ | |
"Id": "33", | |
"Type": "mask", | |
"Rule": { | |
"Mask": { | |
"summary": {}, | |
"user": {} | |
} | |
}, | |
"Position": { | |
"X": 335, | |
"Y": 407 | |
} | |
}, | |
{ | |
"Id": "18", | |
"Type": "filter", | |
"Rule": { | |
"Filter": ".is_anon == false" | |
}, | |
"Position": { | |
"X": 225, | |
"Y": 231 | |
} | |
}, | |
{ | |
"Id": "38", | |
"Type": "filter", | |
"Rule": { | |
"Filter": ".summary != null" | |
}, | |
"Position": { | |
"X": 262, | |
"Y": 320 | |
} | |
} | |
], | |
"Connections": [ | |
{ | |
"Id": "43", | |
"FromId": "33", | |
"ToId": "27", | |
"ToRoute": "in" | |
}, | |
{ | |
"Id": "6", | |
"FromId": "2", | |
"ToId": "5", | |
"ToRoute": "in" | |
}, | |
{ | |
"Id": "20", | |
"FromId": "5", | |
"ToId": "18", | |
"ToRoute": "in" | |
}, | |
{ | |
"Id": "44", | |
"FromId": "18", | |
"ToId": "38", | |
"ToRoute": "in" | |
}, | |
{ | |
"Id": "40", | |
"FromId": "38", | |
"ToId": "33", | |
"ToRoute": "in" | |
}, | |
{ | |
"Id": "42", | |
"FromId": "33", | |
"ToId": "41", | |
"ToRoute": "in" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment