and more in a single search tool across platforms. Read the announcement here. |
01/02/2024 10:58 PM
Hi,
We have a use case where we do not want to send repetitive data in the consecutive scheduled analytics report emails.
I came across "Base Count" feature which promised to solve the exact case.
But unfortunately, it does not seem to be working for me. Please share your inputs and suggestions if I am doing something wrong or missing anything.
As per the documentation in Creating Elasticsearch-based Analytics Controls (Version 2) using SQL Query (saviyntcloud.com)
My Analytics details:
Query: select username from users where username like '%reuse%'
Risk: Low
Base Count: 1
Number of History to Keep: 10 (Archival disabled)
Where do you want to save your data?: Save Data is checked
The above query in data analyzer had 14 results. So the analytics on its first run gave 14 results. I then modified 1 new test user so that the query now gives 15 results in data analyzer.
The expectation was that the Analytics will now give only 1 entry in the result but it gave 15.
I then modified the analytics with below
Base Count: 2
Number of History to Keep: 5 (Archival disabled)
After this, I modified few more test users and the query in data analyzer kept on increasing the number of results but the analytics gave 0 results.
01/02/2024 11:10 PM
Does query returns results in data analyzer
01/02/2024 11:19 PM
yes,
The query returns data in Data Analyzer and the data keeps on increasing as I keep modifying new test users.
# Run | Result in Data Analyzer | Result in Analytics |
1 | 14 | 14 |
2 | 15 | 15 |
3 | 16 | 0 |
4 | 18 | 0 |
After the 2nd run, the base count was modified from 1 to 2 and the history to keep was modified from 10 to 5
01/03/2024 05:07 AM
You can date filter to limit the data
01/03/2024 05:15 AM
Sorry but the actual use case is not that chronologically incremental.
We will need Base Count feature to work
01/03/2024 05:21 AM
If you have selected to save the results in the file system, then you will not be able to see the conflict details on User Interface. In that case, the Total Conflict count will be displayed as zero and you will only have the option to download the file and view the results.
Once you run the Analytics and go to history for that analytics, you will see the total count as 0. However, there will be a download option available beside the total count value. You should be able to access your report through download.
click save data to elastic search
01/03/2024 07:11 AM
These are the only 3 options I see
Also, I do not see download option in history page; only delete.
01/03/2024 07:40 PM
Try recreating analytics
01/04/2024 01:07 AM
created new analytics.
Base count 2, history to keep 5
On the first run, analytics gave 20 results (same as in data analyzer)
after this, I modified the data and now data analyzer gave 21 results but analytics gave 0 results
01/04/2024 08:28 PM
Just click - save to file