Skip to content

Commit

Permalink
Remove specs not used by any rules (#2663)
Browse files Browse the repository at this point in the history
* Remove specs not used by any rules

* Prepare specs for core collection
* Remove all default specs that there are not being used to reduce archive size
  requirements
* This includes specs that are not currently being
  collected by the current client and specs that would not be evaluated
  by any rules if collected
* Remove assocated archive specs
* Add all file-like specs to sos_archive specs to allow collection

Signed-off-by: Bob Fahr <[email protected]>

* Update docstrings in datasources

Signed-off-by: Bob Fahr <[email protected]>

* Update specs catalog documentation

Signed-off-by: Bob Fahr <[email protected]>

* Remove commented lines

Signed-off-by: Bob Fahr <[email protected]>
  • Loading branch information
bfahr authored Jul 17, 2020
1 parent 688f702 commit eb70e56
Show file tree
Hide file tree
Showing 5 changed files with 145 additions and 615 deletions.
4 changes: 0 additions & 4 deletions insights/specs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ class Specs(SpecSet):
hponcfg_g = RegistryPoint()
httpd_access_log = RegistryPoint(filterable=True)
httpd_conf = RegistryPoint(multi_output=True)
httpd_conf_sos = RegistryPoint(multi_output=True)
httpd_conf_scl_httpd24 = RegistryPoint(multi_output=True)
httpd_conf_scl_jbcs_httpd24 = RegistryPoint(multi_output=True)
httpd_error_log = RegistryPoint(filterable=True)
Expand All @@ -220,7 +219,6 @@ class Specs(SpecSet):
httpd_limits = RegistryPoint(multi_output=True)
httpd_M = RegistryPoint(multi_output=True)
httpd_on_nfs = RegistryPoint()
httpd_pid = RegistryPoint()
httpd_ssl_access_log = RegistryPoint(filterable=True)
httpd_ssl_error_log = RegistryPoint(filterable=True)
httpd_V = RegistryPoint(multi_output=True)
Expand Down Expand Up @@ -345,7 +343,6 @@ class Specs(SpecSet):
modinfo = RegistryPoint(multi_output=True)
modinfo_all = RegistryPoint()
modprobe = RegistryPoint(multi_output=True)
module = RegistryPoint()
mongod_conf = RegistryPoint(multi_output=True, filterable=True)
mount = RegistryPoint()
mounts = RegistryPoint()
Expand Down Expand Up @@ -525,7 +522,6 @@ class Specs(SpecSet):
route = RegistryPoint()
rpm_V_packages = RegistryPoint()
rsyslog_conf = RegistryPoint(filterable=True)
running_java = RegistryPoint()
samba = RegistryPoint(filterable=True)
sap_hdb_version = RegistryPoint(multi_output=True)
sap_host_profile = RegistryPoint(filterable=True)
Expand Down
Loading

0 comments on commit eb70e56

Please sign in to comment.