Project

General

Profile

Actions

Feature #32140

closed

Allow searching hosts by attributes of the reported data facet

Added by Marek Hulán almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Search
Target version:
-
Fixed in Releases:
Found in Releases:

Description

The ReportedDataFacet (https://github.com/theforeman/foreman/blob/develop/app/models/host_facets/reported_data_facet.rb) defines several normalized data based on facts however we don't allow to use that in our search. E.g. search of all hosts having RAM > 1024 or all hosts running for longer than a year without reboot (based on boot_time).

We should define a scoped_search definition for each of the attribute. Ideally that should be possible on host search syntax so on host detail page I could do something like "reported.ram > 1024".

Actions

Also available in: Atom PDF