We all pant for customer data. Which hardware do customers run ? Which packages are installed ? Which services are running ? etc. pp.
A lot of this data is in the supportconfig. But this is neither collected, nor centralized, not easily accessible.
elasticsearch, packaged here, seems to be useful for indexing/searching through supportconfigs.
Looking for hackers with the skills:
Nothing? Add some keywords!
This project is part of:
Hack Week 14 Hack Week 16
Activity
Comments
-
over 8 years ago by kwk | Reply
Installation howto
- supportconfig
git clone git@github.com:kkaempf/supportconfig.git
cd supportconfig
rake build
gem install pkg/supportconfig-0.0.1.gem
- elasticsupport
git clone git@github.com:SUSE/elasticsupport.git
cd elasticsupport
rake build
gem install pkg/elasticsupport-0.0.1.gem
- elasticsearch
Install elasticsearch, e.g. from here
- kibana
Install kibana from here: 64bit Linux package
-
over 8 years ago by kwk | Reply
Supportconfig download from Bugzilla with bicho:
- your
~/.oscrc
contains the right credentials
bicho -b bsc show --attachments --supportconfig "Manager 3"
Assumption: You have a saved query named
Manager 3
. Bicho will check all matching bugs for attachments and download those which have 'supportconfig' in their summary and a content type ofapplication/x-bzip-compressed-tar
orapplication/x-gzip
. You can also pass one or more bug numbers. - your
-
over 8 years ago by kwk | Reply
Use the elasticsupport gem mentioned above to import the data to elasticsearch.
elasticsupport
needs a single parameter, which could bea supportconfig (compressed) tarball
a directory with (compressed) tarballs
a directory containing a single, unpacked supportconfig
a directory with many unpacked supportconfigs
Similar Projects
This project is one of its kind!