I have selected a list of computers related to Fixlet as below.
After this, I am going to print out the Client Setting value of this computer.
What should I do?
The value I want to get is the number of Client Setting values on each computer that contain a specific string.
For example)
You are trying to obtain a count that contains the string āTestā in the Client setting value.
Look at the āclient settingsā inspectors, here are few examples with the string āhttpā from my test system:
Q:exists setting whose (value of it contains āhttpā) of client
A: True
Q:number of names of settings whose (value of it contains āhttpā) of client
A: 1
Q:names of settings whose (value of it contains āhttpā) of client
A: _WebReports_HTTPServer_HostName
Hello
Thank you for helping me.
However, I entered as you told me, but there is an error as shown below.
The three above are all the same.
You are using the QnA from the webreports, which runs āsession relevancesā. Please test the relevance from the Fixlet Debugger (QnA) available on your BigFix console. Once it works as expected, I guess you have to create an analyses to retrieve the wanted data from your computers. Eventually you can go to the Webreports and create a report that shows the properties of your analyses.
If you do so, is it only applicable to the columns below?
Filter tried to apply it, but it affected the entire table.
Properties are applicable to the entire table. Another options is to create a ācustom reportsā which offers more flexibility. But I am not sure what you are trying to achieve
The above table is made with the code below.
I want to print out the number of computers that contain the value of the client corresponding to the fixlet where I emphasized.
I donāt know how to put it.
I now see what you what to do⦠I am not an expert with āsession relevanceā thus I canāt give you the precise statement, you have to play with the āclient settingsā of BES computers
See https://developer.bigfix.com/relevance/guide/session/
Here is an example (just for reference)
<?Relevance (value of client settings whose (name of it = "_APIServer_HTTPServer_IsEnabled") of bes computers) ?>You may want to try a ācustom reportā that contains only the wanted values and then attempt to change the existing report.
See https://help.hcltechsw.com/bigfix/9.2/platform/Platform/Web_Reports/c_creating_a_custom_report.html)
Forgot to say, that the following works on Webreports QnA, it could help with your actual statements:
Q: names of client settings whose (value of it contains āhttpā) of bes computers
Q: number of names of client settings whose (value of it contains āhttpā) of bes computers
Q: exists client settings whose (value of it contains āhttpā) of bes computers
So I can print up to the applicable computer name of the corresponding Fixlet.
where you must output the number of computers that contain the āTESTā character in the Client Value value.
The important point here is that you must find the Client Value value as shown above, including the corresponding Fixlet.
(Names of Applicable Computers of it as string) of Beth fixlets who (((source release date of it > current date - 60*day) and (Applicable Computer Count of it > 0) and (display name of site of business āPagesā)" for Windows."
This produces a list of computers, where it takes a long time to analyze the Client Settings Value values.
Iām trying to follow exactly what youāre trying to do, but here is some sample session relevance that returns the Computer Name, as well as the number of Client settings containing a specific string for computers that are applicable to a given set of Fixlets (based on what I think youāre filtering on above):
(name of it, number of values whose (it as string as lowercase contains "test" as lowercase) of results from (bes property "Client Settings") of it) of unique values of applicable computers of bes fixlets whose (((source release date of it > current date - 60*day) and (Applicable Computer Count of it > 0) and (display name of site of it contains "Patches for Windows")))
I wrote with the code below.
The results are output for each related fixlet in the Client.
What I want is to express the number of computers if there is a single Fixlet. Currently, even the same fixlet is expressed separately if the client is different.
Q: (value of client settings where (name of it = āDHK_DEPTNAMEā) of it | āNoneā) of computer of it, name of fixet of it as string, number of (name of computer of it as string) of results from (name of it as string) (name of computers of its results) Flag of it = true) of bet computers