graylog2 This function randomly selects a handler type from the Graylog2 Python library and creates a function to generate that handler. Function 2024-12-16 12:05:56 3 views
graylog2_gelf This function searches for log entries in a Graylog server based on a given query, time range, and returns the results. Function 2024-12-16 12:02:20 3 views
graylog2_gelf This function uses the GelfClient from the graylog2_gelf library to search for logs based on a specific query and date range. Function 2024-12-16 11:50:02 8 views
graylog2 GelfMessage This function is used to send log messages to the Graylog log management system. It first creates a GelfMessage object and then sends the message using the Graylog API client. Function 2024-12-16 11:40:48 4 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
graylog2 GELFMessage This function uses the Graylog third-party library to search for log messages in a specified index. Function 2024-12-16 11:34:47 13 views
Python graylog2_gelf This function uses the GELF (Graylog Extended Log Format) library from the Graylog third-party library to generate a log event. The event includes parameters such as message, source, facility, and severity, and converts the event to a JSON-formatted string. Function 2024-12-16 11:26:54 4 views
graylog2_gelf This function uses the GelfClient library from the graylog2_gelf package to send a search query to a Graylog server and returns the search results. Function 2024-12-07 16:28:11 5 views
graylog2_client random This function uses the Graylog client library to execute a log query and return a random sample of the results. It first creates a query object, executes the query, then shuffles the results and returns the first 10 results as a random sample. Python Function 2024-12-07 16:23:17 13 views
graylog2 GELF This function uses the GELF library from Graylog to generate a GELF formatted log message. It takes the log level and message content as parameters and returns a GELF message object. Function 2024-12-07 16:20:54 3 views