HomeSoftware Heritage

kibana: Adapt tools to retrieve logs

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

kibana: Adapt tools to retrieve logs

  • Update to be more resilient
  • Permit to use loader-svn errors retrieval

Use case sample:

$ ./kibana_fetch_logs.py \
  --indexes "logstash-2017.09.18,logstash-2017.09.19,logstash-2017.09.2*,logstash-2017.09.30,logstash-2017.10.01,logstash-2017.10.02" \
  | tee svn-loader-error-logs-from-kibana.txt

Then:

$ cat svn-loader-error-logs-from-kibana.txt  \
  | ./group_by_exception.py \
  | jq ".googlecode"
{
  "errors": {
    "OSError(12, 'Cannot allocate memory')": 608
  },
  "total": 608
}

Related T676

Details

Provenance
ardumontAuthored on Oct 3 2017, 12:48 PM
ardumontPushed on Oct 4 2017, 10:00 AM

Commit No Longer Exists

This commit no longer exists in the repository.