community-edition-setup icon indicating copy to clipboard operation
community-edition-setup copied to clipboard

Introduce log/data collector for support tickets (similar to couchbase log collector)

Open yuriyz opened this issue 5 years ago • 0 comments

Problem: It often happens that in support ticket we have to ask different information. Usually it's ping-pong game where we ask one log then the other then something from ldap/couchbase. It takes days to understand what is the root problem.

Idea: It would be nice to introduce log/data collector which should create archive with:

  1. oxauth/oxtrust/oxd and all other logs
  2. version information (from show_version.py)
  3. setup logs (optional via parameters)
  4. trim logs if needed (not more then 1MB per file by default but configurable via parameter)
  5. add optional parameter to script to export data (collector has access to setup.properties, so it can access storage and export data which are needed).

Collector should have option to push data to server which can be automatically linked to support ticket (push to ticket should be allowed only tickets with Support plan)

logcollector push -t <support ticket token>

E.g. logcollector push -t abcd-ktdlf-7555 )

We should generated support ticket token and show it on our support site if Support plan is set.

For community user it would be zip file which user can upload somewhere and give us link or attach to ticket directly (as file).

Then when customer wants to open ticket we will ask to attach logcollector archive. And if customer will follow it then it should save us days on clarifications.

yuriyz avatar Oct 07 '19 11:10 yuriyz