analyze-entries ( entries word-names -- errors word-histogram message-histogram )
Furnace framework » Logging framework » Log analysis

Prev:analyze-log ( lines word-names -- )
Next:analysis. ( errors word-histogram message-histogram -- )


Vocabulary
logging.analysis

Inputs
entriesa sequence of log entries
word-namesa sequence of strings


Outputs
errorsa sequence of log entries
word-histograman assoc
message-histograman assoc


Word description
Analyzes log entries:
Errors (entries with level ERROR or CRITICAL) are collected into the errors sequence.
All logging words are tallied into word-histogram - for example, this can tell you about HTTP server hit counts.
All words listed in word-names have their messages tallied into message-histogram - for example, this can tell you about popular URLs on an HTTP server.


Definition