record

record #

Description #

The record filter is used to record requests. Output requests can be copied to the console of Kibana for debugging.

Configuration Example #

A simple example is as follows:

flow:
  - name: request_logging
    filter:
      - record:
          stdout: true
          filename: requests.txt

Examples of the format of request logs output by the record filter are as follows:

GET  /_cluster/state/version,master_node,routing_table,metadata/*

GET  /_alias

GET  /_cluster/health

GET  /_cluster/stats

GET  /_nodes/0NSvaoOGRs2VIeLv3lLpmA/stats

Parameter Description #

NameTypeDescription
filenamestringFilename of request logs stored in the data directory
stdoutboolWhether the terminal also outputs the characters. The default value is false.
Edit Edit this page