Aliases for search queries.
It would be great if it was possible to create aliases for search keywords in foreman.
Two uses cases come to mind:
1. Having aliases mapping the names facter and chef use to the same things on foremans side (for example operatingsystem would map to os and operatingsystemmajrelease would map to os_major).
These should come with foreman out of the box for at least chef and puppet. Perhaps this should be an option so you can specify that you want to use the aliases for only chef, since it's probably rarely usable to get both sets.
2. Creating custom aliases.
For instance, the search query for machines reporting errors is "last_report > "65 minutes ago" and (status.failed > 0 or status.failed_restarts > 0) and status.enabled = true". This is a bit long, but when you start adding more criterias to it it quickly becomes very hard to read.
It would be great if it was possible to alias something like "errors = 1" to "last_report > "65 minutes ago" and (status.failed > 0 or status.failed_restarts > 0) and status.enabled = true".