Boot Time property result not included

Hello team,

I am working on the following session relevance:

(name of it, last report time of it, (boot time of operating system) of it, value of results from (bes property "UpTime") of it, value of results from (bes property "UpTime Bracket") of it, value of results from (bes property "Patch Window") of it) of bes computers whose (operating system of it starts with "Win2" AND last report time of it > (now - 30 * day) AND (value of result from (bes property "Patch Method") of it does not contain "MANUAL") AND (value of result from (bes property "Patch Method") of it does not contain "OFFER") AND (value of result from (bes property "UpTime Bracket") of it contains "> 60days"))

When I remove the “(boot time of operating system) of it” for getting the boot time of the server, result is just doing fine. But with the property, I get

BODY { FONT-SIZE: 18px; OVERFLOW: auto; FONT-FAMILY: Segoe UI; FONT-WEIGHT: 400; FONT-STYLE: normal } Error: The operator “operating system” is not defined.

When changing it to a custom property with the same “boot time of operating system” relevance, I get:

I do have this property existing from our environment:

Thanks in advance for any feedback

Do me a favor and run this

(names of it, ( names of properties of it ) whose ( it contains “Boot Time” ) ) of bes analyses

My guess is it’s trying to return answers for both because you haven’t specified which one of the two you want.

1 Like

Hello Kameron,

Thanks for the feedback. It did return the two Boot Time from the screenshot. I was under the impression of the server not being considered since it is not activated.

My understanding about the message Singular expression refers to nonexistent object is that it is not finding it, so does that mean it could also indicate that there are more than one object?

What will need to be added to the relevance to indicate the site or the analyses that the property is belonging to?

Thank you.

Does this return the property that you want to look at?

(names of it, ( names of properties of it ) whose ( it contains “Boot Time” ) ) of bes analyses whose ( name of it contains “Patch Management Team”)

Hello Kameron,

Ive tried the relevance but it returned literally the word “Boot Time”?

Try this, sorry, was trying to narrow it down to make sure it returned the right Boot Time before fixing the relevance

( ( ( values of results of ( properties of it ) whose ( name of it contains “Boot Time” ) ) of bes analyses whose ( name of it contains “Patch Management Team”) ) of it )

Okay, finally fixed it, this should work.

Strangely, this relevance returned multiple records for each server name

I tried changing the computer name part of it to unique name but looks like the records are for the same hostname with the same computerID and what it is returning is the different boot time it had in the past?

The result without the boot time expression returns four servers in total and with the boot time expression, it returned several records for each of those 4 host names.

No need to say sorry because you’re the one helping me out :slight_smile:

Let me work on it, I think I overcomplicated it.

Okay, I was using two constructs bes analyses and bes computers instead of just bes computers

Hopefully this should work

( values of property results whose ( name of property of it contains "Boot Time" and name of source analysis of property of it contains "Patch Management Team" ) of it ) of it

Hello Kameron,

The last relevance was able to fix it! I will be using this pattern with the other properties I have to make sure we would be getting the correct values for the property.

Thank you very much for the help! :slight_smile:

Glad we got it sorted, and I’m glad you can reuse it.

1 Like