Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • [log_id] : the log id which must be UNIQUE per day, per facet field and value, in order to exploit those logs with ELK
  • [timestamp] : the timestamp of the log. It is formatted and could be different from the log4j timestamp so it is mandatory
  • [num_doc] : the number of documents found according to the facet
  • [facet_value] : the facet value
  • [facet_field] : the facet field used, in relation with the facet value

 

At each monitoring log generation iteration, a log line is created for each facet value of the selected facet fields, plus a log line for the global number of documents indexed (in that case, the [facet_value] and [facet_field] are both set to "no").
The default selected facet fields are "extension", "language" and "source". One can change the facet fields selected in the class "com.francelabs.monitoring.IndexMonitoring.FileShareMonitoringLog".