percona / percona/support-snippets

network_connections_log_parser.py triggering "list index out of range" with MongoDB 3.6 log

Open
#39 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
25
Forks
15
PR merge metrics
No merged PRs in 30d

Description

./network_connections_log_parser.py ~/Percona/tmp/mongo3.6.log 
list index out of range
list index out of range
(...)
list index out of range
list index out of range

Completed processing of log file /home/fernando/Percona/tmp/mongo3.6.log:
- Number of recorded connections: 14
- Number of precessed seconds: 0

- Generated JSON file: /home/fernando/Percona/tmp/mongo3.6.log.json

- Generated CSV file: /home/fernando/Percona/tmp/mongo3.6.log.csv

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Run ./network_connections_log_parser.py against the reported MongoDB 3.6 log and inspect network_connections_log_parser.py where the repeated “list index out of range” messages occur. Determine why those log lines are not handled, then verify that processing completes without the errors and still generates the reported JSON and CSV outputs.

Written by the indexing model from the issue text.

Assessment

Tech stack
mongodb, python
Domain
databases, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.