Created
June 1, 2022 11:01
-
-
Save iamhowardtheduck/d13a8dade907ae4b6a90ecea517341e4 to your computer and use it in GitHub Desktop.
plex-mediaserver-networkservicebrowser-INW
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
PUT _ingest/pipeline/plex-mediaserver-networkservicebrowser | |
{ | |
"processors": [ | |
{ | |
"grok": { | |
"field": "message", | |
"patterns": [ | |
"(?<event.name>SSDP departed) (?<event.reason>after not being seen for (?<plex.unseen_seconds>\\d+\\.\\d+) seconds)\\: %{IP:client.ip} \\(%{WORD:client.hostname}\\)", | |
"(?<event.name>SSDP departed) (?<event.reason>after not being seen for (?<plex.unseen_seconds>\\d+\\.\\d+) seconds)\\: %{IP:client.ip} \\((?<client.hostname>[^\\s][^\\(]+) \\(%{IP}\\)\\)", | |
"(?<event.name>SSDP arrived)\\: %{IP:client.ip} \\(%{WORD:client.hostname}\\)", | |
"(?<event.name>SSDP arrived)\\: %{IP:client.ip} \\((?<client.hostname>[^\\s][^\\(]+) \\(%{IP}\\)\\)", | |
"(?<event.name>found (?<plex.devices_found>\\d+) SSDP devices) via (?<plex.url.original>\\S+)", | |
"(?<event.name>Parsing SSDP schema) for (?<plex.url.original>\\S+)", | |
"(?<event.name>PLAYER arrived)\\: %{IP:plex.host.ip}", | |
"%{GREEDYDATA:FIX-ME}" | |
] | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment