Events and alarms are not shown with Search Filter.

We send events via Protocol Integration to a XProtect Corporate server version 2021 R2. Then, with rules in the Management Client, these events generate alarms. We can see in Alarm Manager that both the events and the alarms are created correctly. The problem arrives when I search them in the Search Panel.

If I filter with the “Events” filter, I choose a time range and select the device that generates those events (is always the same device), then only some of the events are displayed, but not all of them. For example, I send one event at 10:17, then one at 10:19 and another at 10:20 but only the event at 10:19 is displayed.

The same happens when I use the alarm filter, exactly the same results appear (In our example it would be the alarm generated at 10:19), so this makes me think that maybe some of the events are sent in incorrect format, or even that the id is being generated bad.

I attach the XML code of one example event we send (the ids are false)

    <AnalyticsEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:milestone-systems">
      <EventHeader>
        <ID>00000000-0000-0000-0000-000000000000</ID>
        <Timestamp>2022-04-05T08:19:19</Timestamp>
        <Message>People</Message>
        <Source>
          <FQID>
            <ServerId>
              <Id>7aaaaaa-3d2c-4a85-aeca-18d2409cfe70</Id>
            </ServerId>
            <ObjectId>DBF80DA2-AAAA-48A3-AAAA-729CF07C06B7</ObjectId>
            <Kind>aaaaaaaa-f1dc-aaaa-806a-6ce2017343c0</Kind>
          </FQID>
        </Source>
      </EventHeader>
      <SnapshotList>
        <Snapsho  [...]  uOtNQ==</Image>
          <SizeInBytes>174094</SizeInBytes>
        </Snapshot>
      </SnapshotList>
    </AnalyticsEvent>

Let me see if I got this right. You are watching the Alarms in the Alarm Manager tab in the Smart Client, if you do not filter you see what you expect to see but if you apply a filter some Alarms that were supposed to show are not seen.

Is this an accurate description?

I would like very much if you can make a screen capture of the Smart Client showing me this. If my description is not accurate you can elaborate on your description and please show me how it looks by making a screen shot in the PC showing the Smart Client while the issue is seen.

Perhaps you can make two screen captures, if possible, with and without the filtering.

No, the situation is:

I am attaching two screenshots, one of the Alarm Manager and the other of the Search Filter.

I see the alarms correctly in the Alarm Manager.

Watch the last ones. We have alarms with timestamps 10:20:28, 10:20:07, 10:20:01, 10:19:19, 10:17:21…

But, in the Search Filter, when I filter by Alarms, only appears the alarm with the timestamp 10:19:19.

Why I can not see the alarms with timestamps 10:20:01 or 10:17:21?

How can I see them?

Thank you.

I was not on the right track.

I wonder if you play with alarms based on user-defined events, can you reproduce the same behavior? If you can, we can safely rule out that there is anything wrong with your analytics events.

PS. If you send the unmodified image as a snapshot you are filling the database with images that are already recorded once. I guess you want to later use the functionality for something different.

I am going to explain another method to reproduce what is happening to me:

1- I create in Management Client an Event, and also a rule to create an Alarm from that Event.

2- I click on the event and I generate one event from a device called X.

3- I can see in the Alarm Manager on Smart Client that event.

I also can see that X created the event and the timestamp of all of this. All is correct information.

4- I go to the Search panel, on Smart Client, select:

time: last 12 hours

device: X

Filter by: Events.

And the events are not displayed here.

What am I missing?

I would like to reproduce the issue so let me clarify your instructions from the previous post.

1 – What kind of event are you using? User-defined event or Analytics Event?

2 – “also a rule to create an Alarm from that Event.” Does this mean that you create Alarm definition?

If so, what do you select as Triggering event in the alarm definition?

Also, it would be great if you could disable rest of alarm definitions if you have multiple.

3 – And maybe you trigger the event with clicking “test event”, is it Analytics event?

Above questions might be a bit redundant, but to make the things clear is very important for reproducing the issue.

1- I am using Analytics Events.

2- The same issue happens with the events and the alarms, so let’s forget the alarm part.

To reproduce:

1- Create an Analytic Event in the Management Client.

2- Send a test event.

3- Confirm that it has been received correctly in Alarm Manager Panel.

4- Go to the Search Panel, select the camera associated with the event, and filter by event.

Result: No event found.

Should not be there?

Can you test to use admin user when you login Smart Client and search events?