The operator "bes action" is not defined

hi,
I tried the login, the command line doesn’t recognize the “iem Login”…‘iem’ is not recognized.

Is this is windows or Linux IEM Server ?
The command line is installed on the Server and you’ll either need its directory in the path or be in its installation directory.

Is 856352 the id of the Baseline, or the id of an Action taken on the baseline?

Since you’re using the plural “actions”, if this action does not exist you will not get an error, but 0 results.

1 Like

Hi,
I entered into the folder of the bigfix and still the iem login isn’t recognized.

about the relevance - is it’s id of the baseline , I entered the id of the action of the baseline and now it works. I need to try it with several components.

it’s windows.
I’ve tried to get into the installation folder from the command line but it still doesn’t recognized it.
which folder should I be on?

c:\Program Files (x86)\BigFix Enterprise\BES Server\IEM CLI>

now I succeeded to connect :smile:

but why i can’t run this command:

c:\IEM CLI>iem get query -relevance="(status of it, names of computer of it) of results whose (status of it is bes action status Waiting) of member actions of bes actions whose (id of it is 856352)"

error:Parameters must be of the form ‘–key value’ or ‘–key=value’

you need two - before the relevance

--relevance

you have only one

now it works! =] thank you!

is there a way to encrypt the password I need to write In the iem login?

I created a task to install the session relevance tester: http://bigfix.me/fixlet/details/3930

hi,

I need to get all the id actions of baseline…
how can I do that?

I’ve try:

action ids of bes baseline component of bes baseline whose (id of it is 1)

also- ids of bes action of bes baseline whose (id of it is 1)

Do you mean you need the action ID of the baseline itself, or you want the action IDs of all of the subcomponents of a particular baseline?

Hi,
I want the action IDs of all of the subcomponents of a particular baseline?

Thanks,
Ortal

just to make sure,

I have a baseline, that have one action - I need that action id

1 Like

Something along the lines of this example, returns the list of ids of actions taken on the fixlet 168 in the BES Support site

ids of taken actions of fixlet whose (id of it is 168) of bes site whose (id of it = 1)

This is what I would recommend:

ids of taken actions of custom bes fixlets whose(id of it = 1)

Note: “bes fixlets” will return all Fixlets, Tasks, Analyses, Baselines, etc… Internally, everything is a Fixlet but of different types. “custom bes fixlets” returns only the results of “bes fixlets” not contained within an external (IBM Provided typically) site. “custom bes fixlets” is faster and better to use than “bes fixlets” if you are only interested in custom/internal baselines.

1 Like

it works!
thank you very match for all your help!!!

:smile:

1 Like

Hi again! =]

something weird happened to me.
when i’m trying:
ids of taken actions of custom bes fixlets whose(id of it = 1)
works fine! (also works with cmd)

when I run this ,but Extracts it by name it works in the Bigfix Session Relevance, but when I run it in the cmd with iem get query it doesn’t work :\

ids of taken actions of custom bes fixlets whose(name of it is “test”) ->>works in relevance

iem GET query --relevance “ids of bes fixlets whose (name of it is “test”)” ->> get an xml , with result:
The operator “test” is not defined

how can I fix it? I need to extract only by name.

thanks,
Ortal

I may be wrong but the relevance used to get the XML is not the same as the session relevance above it?.

It should be noted that I am not as familiar with session relevance as I’d like to or should be.

it works fine with the relevance :

ids of taken actions of custom bes fixlets whose(id of it = 1) ->> relevance bigfix

iem GET query --relevance “ids of taken actions of custom bes fixlets whose(id of it = 1)” ->> cmd

both get the same results