Module elasticsearch

Source

Constantsยง

ELASTICSEARCH_VERSION ๐Ÿ”’

Staticsยง

ELASTICSEARCH_HEADERS ๐Ÿ”’

Functionsยง

do_handle_bulk_api ๐Ÿ”’
elasticsearch_headers
Returns the headers for every response of Elasticsearch API.
get_index_from_cmd ๐Ÿ”’
get_log_value_from_msg_field ๐Ÿ”’
handle_bulk_api
Process _bulk API requests. Only support to create logs. Reference: https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html#docs-bulk-api-request.
handle_bulk_api_with_index
Process /${index}/_bulk API requests. Only support to create logs. Reference: https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html#docs-bulk-api-request.
handle_get_license
handle_get_version
parse_bulk_request ๐Ÿ”’
write_bulk_response ๐Ÿ”’