Graypy GelfTransport This function uses the Graylog Python library to perform message searches. It accepts a query and timeline as parameters, sends a request to the Graylog server, and returns search results. The type of code 2024-12-16 11:49:07 15 views
Graypy GELFHandler This code randomly selects and configures a Graylog logger handler, formatter, and transport. The code first randomly selects one from the possible handler types, then selects a formatter and transport for the handler. Finally, the code configures the handler to use the selected formatter and transport. The type of code 2024-12-16 11:48:44 12 views
graypy This function generates a random Graylog configuration including the transport type, host addresses, and log level. It creates a GelfHandler using the graypy library, which is a handler used to send logs to Graylog. The type of code 2024-12-16 11:44:23 4 views
graypy GelfUdpTransport This function uses the Graylog Python client library to send a search query to the Graylog server and return the search results. Graylog API call 2024-12-16 11:39:03 14 views
graylog2 graypy This function generates a random GELF event and sends it to a specified Graylog server. It uses the GelfMessage and TCPTransport classes from Graylog to create and send the event. Function 2024-12-16 11:36:49 15 views
graypy KafkaTransport This function is used to send a message to the Graylog logging system, where tags for the message can be specified. Function 2024-12-16 11:34:46 12 views
graypy This function uses the Graylog third-party library to send logs to the Graylog server. It creates a TCP transport instance, a JSON formatter, and uses these to build and send a log message. Function 2024-12-16 11:23:28 7 views
graypy UdpTransport This function uses the Graylog third-party library to send a search query to the Graylog server and simulates receiving search results. Function 2024-12-16 11:20:57 12 views
graypy json This function generates a random Graylog event with given message, source, and priority, and sends it to the Graylog server using the UDP protocol. The type of code 2024-12-16 11:20:27 5 views
graypy formatters This function uses the Graylog Python client library to send a search query to the Graylog server and wait for a response. Logging and Search 2024-12-07 16:26:04 12 views