Hi @Naga1
The are a number of methods.
As you have not provided any example of the DataError field values, I'll assume they are short and concise. Generally, the simplest and most efficient way is do exclude them at base search time. Something like this
...your search query... NOT DataError IN("value1 to exclude", "value1 to exclude") ``` this will exclude the 2 DataError messages you want to ignore```
| stats count BY DataError
Or, it can be just as quick to do the stats count on all values and then exclude the ones you do not want to see afterwards.
...your search query...
| stats count BY DataError
| search NOT DataError IN("value1 to exclude", "value1 to exclude")
It really depends on the data.
Anyway, hope that helps get you going.
If I have long values with lot of special character and quotation mark(")How the search string differs between value and separator.
Long errors may be :
1. ART.117.4002] Adapter Runtime (Adapter Service): Unable to invoke adapter service cip.atsJob.connectors.cipdb.jobCatalog:saveJobCatalog with connection cip.atsJob.connectors.cipdb:atsJobDb.
[ADA.1.316] Cannot execute the SQL statement "?= call SAVE_JOB_CATALOG( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)". "
(23000/1400) ORA-01400: cannot insert NULL into ("ATSJOB"."ATS_JOB_CATALOG"."JOB_TITLE")
ORA-06512: at "ATSJOB.SAVE_JOB_CATALOG", line 55
ORA-06512: at line 1 "
ORA-01400: cannot insert NULL into ("ATSJOB"."ATS_JOB_CATALOG"."JOB_TITLE")
ORA-06512: at "ATSJOB.SAVE_JOB_CATALOG", line 55
ORA-06512: at line 1
2. "Error in ATS_JOB_FEED.AVATURE_GLOBAL job processing either jobTitle or JobDescription value is null,chk ATS_JOB_CATALOG for job details using job code:%dynamic value% and ATS code:AVATURE_GLOBAL
See CIP Framework Log for more details, Interface Code: ATS_JOB_FEED.AVATURE_GLOBAL”