Querying specific parameter

Problem: Querying specific parameter

Expected outcome: parameters value only

Foreman and Proxy versions: 1.20

Other relevant data:
searching for kernel in facts api:

But I get all parameters starting

kernelmajversion "4.15"
kernelversion "4.15.0"
kernelrelease "4.15.0-46-generic"
kernel "Linux"

But I want only the last one.


I think you are searching the “wrong” way. With “search=XY”, you in general search for everything that is somehow related to XY (which in general is slow, too). Try “search=fact=kernel”, that should bring up the expected result.


1 Like

@areyus thanks. works like a charm!