[ECC Queue] Syslog probe related ECC Input entries remains in Ready state.Issue <!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } .title { color: #D1232B; font-weight:normal; font-size:28px; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } ul{ list-style: disc outside none; margin-left: 0; } li { padding-left: 1em; } --> <!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } .title { color: #D1232B; font-weight:normal; font-size:28px; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } ul{ list-style: disc outside none; margin-left: 0; } li { padding-left: 1em; } --> Description Many times, you may need to create Syslog probe script include to send logs to the on-premise syslog server via MID server as given below: Send log messages from a ServiceNow instance to another machine With this configurations, it will create an Output ECC queue and once we get the response it will create an ECC Input entry with state as Ready. But this Input ECC record never gets Processed and it remains in Ready state. So, we may want to set them as processed or some kind of configuration like sending notifications etc. THis article describes how we can achieve this and you can edit the code as per the requirement. Procedure This is expected behavior. We are not processing these ECC from OOB. There are two options for this scenario: We can leave the ECC as it is and eventually these records will be truncated or purged as part of regular ECC Queue rotation (OOB 7 days).If we still want to process these records, we can write a business rule on the ecc_queue table and mark them as processed. Sample script looks below: (function executeRule(current, previous /*null when async*/) { // Add your code here var varAgent = current.agent; gs.log("MID Server Logs been sent/grabbed successfully..\n MID Server - " + varAgent.split('.')[2] + " \n Type of Logs :"+current.name, 'MIDLogRetriever'); // Add custom script here based on your requirement. Like sending notifications etc.. current.state = 'processed'; })(current, previous); Sample BR script is attached here Custom: Handle MID Logs Input ECC. Note: Please note that this is a custom solution and it needs to be reviewed based on individual requirements especially the conditions in the BR and make sure it fits your requirements and won't break others. Also, test this in the sub-prod instance before you move this your PROD instance. Applicable Versions All versions. Additional Information Syslog probe