You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Splunk is a machine data search engine. According to the latest database search engine ranking [1], Splunk has been ranked second, and Splunk can be used to collect, index and retrieve various application data. Splunk, like ElasticSearch, is quasi-real-time and can provide an uninterrupted data stream of search results. I think Apache APISIX can provide a plugin that supports pushing request logs to Splunk, expands the data observability of APISIX, and reduces the cost of Splunk users using APISIX as a gateway.
The following are the design and technical details:
Issue description
Splunk is a machine data search engine. According to the latest database search engine ranking [1], Splunk has been ranked second, and Splunk can be used to collect, index and retrieve various application data. Splunk, like ElasticSearch, is quasi-real-time and can provide an uninterrupted data stream of search results. I think Apache APISIX can provide a plugin that supports pushing request logs to Splunk, expands the data observability of APISIX, and reduces the cost of Splunk users using APISIX as a gateway.
The following are the design and technical details:
Name
Configuration
endpoint
Splunk HTTP Event Collector(HEC) endpointendpoint.uri
Splunk HTTP Event Collector(HEC) endpoint request uriendpoint.token
Splunk HTTP Event Collector(HEC) endpoint request access token [2]endpoint.channel
Splunk HTTP Event Collector(HEC) endpoint channel identifier (GUID) [3]endpoint.ssl_verify
Splunk HTTP Event Collector(HEC) endpoint enable SSL verifyendpoint.timeout
Splunk HTTP Event Collector(HEC) endpoint connection timeout (unit: second)max_retry_count
max number of retries before removing from the processing pipe lineretry_delay
number of seconds the process execution should be delayed if the execution failsbuffer_duration
max age in seconds of the oldest entry in a batch before the batch must be processedinactive_timeout
max age in seconds when the buffer will be flushed if inactivebatch_max_size
max size of each batchDetails
Configuration process
HTTP Request process
Push to HEC data format:
[1] https://db-engines.com/en/ranking/search+engine
[2] https://docs.splunk.com/Documentation/Splunk/latest/Data/UsetheHTTPEventCollector#Create_an_Event_Collector_token_on_Splunk_Enterprise
[3] https://docs.splunk.com/Documentation/Splunk/latest/Data/AboutHECIDXAck#About_channels_and_sending_data
[4] https://docs.splunk.com/Documentation/Splunk/latest/Data/FormateventsforHTTPEventCollector#Event_metadata
Maillist
https://lists.apache.org/thread/1ktwd15mcrh53fdqlgzm3sj3wzhwkyvx
The text was updated successfully, but these errors were encountered: