Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled message #46

Open
Siecje opened this issue Mar 22, 2021 · 0 comments
Open

Unhandled message #46

Siecje opened this issue Mar 22, 2021 · 0 comments

Comments

@Siecje
Copy link
Contributor

Siecje commented Mar 22, 2021

  File "sentrylogs", line 11, in <module>
    sys.exit(main())
  File "sentrylogs/bin/sentrylogs.py", line 111, in main
    launch_log_parsers()
  File "sentrylogs/bin/sentrylogs.py", line 103, in launch_log_parsers
    parser().follow_tail()
  File "sentrylogs/parsers/__init__.py", line 53, in follow_tail
    self.parse(line)
  File "sentrylogs/parsers/nginx.py", line 52, in parse
    self.data["date"] = regex.group("date")
AttributeError: 'NoneType' object has no attribute 'group'

self.data["date"] = regex.group("date")

line = ' necho -en "GET /\x1b]2;owned" failed (2: No such file or directory), client: w.x.y.z, server: , request: "GET /%1b%5d%32%3b%6f%77%6e%65%64%07%0a necho -en "GET /\x1b]2;owned?\x07"'

csv_list = [' client: w.x.y.z', ' server: ', ' request: "GET /%1b%5d%32%3b%6f%77%6e%65%64%07%0a necho -en "GET /\x1b]2;owned?\x07"']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant