# Output Fields

The Output-Fields header adds or removes fields to those ezPAARSE returns by default when it generates access events.

By default, the fields returned are those present in the EZPAARSE_OUTPUT_FIELDS parameter configuration file (config.json (opens new window)) to which the ones already present in the log format triggered for the processing are added.

This parameter can be used to add custom fields (that some parsers would be able to extract and return). For example, the "btype" field is not added by default and can be used to trace back advanced information on some database consultations.

You can also add internal ezPAARSE fields as:

  • Datetime: for the full date (hour, minute and second included) of the consultation event
  • Timestamp: the date in a computer format for the consultation event

Please note that the personalized fields in the log format will automatically be added to the Output-Fields list: there is no need to declare them with this Output-Fields header.

The Output-Fields header is composed with a list of comma separated fields, each one preceded with a + or - signs, depending on whether it has to be added or removed.

# Example

curl -X POST --proxy "" --no-buffer -H 'Output-Fields: -host,-login,+datetime' --data-binary @test/dataset/sd.2012-11-30.300.log  http://127.0.0.1:59599 -v