web stats
clear statistics every day morning - Page 2 - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #11  
Old 02-23-2015, 06:22 AM
nreddy nreddy is offline
OBX.2 Kenobi
 
Join Date: Jan 2015
Posts: 72
nreddy is on a distinguished road
Default

Quote:
Originally Posted by narupley View Post
The reset statistics methods were added in 3.1.
ok thanks, then what methed should i use in version 3.0.0.6931 to clear the statistics?

Last edited by nreddy; 02-23-2015 at 06:26 AM.
Reply With Quote
  #12  
Old 02-23-2015, 03:52 PM
brentm brentm is offline
Mirth Employee
 
Join Date: Jan 2012
Posts: 85
brentm is on a distinguished road
Default

Quote:
ok thanks, then what methed should i use in version 3.0.0.6931 to clear the statistics?
In version 3.0.0 there is no supported method of clearing the message statistics in javascript. You would have to access the Mirth Connect internals, but that is unsupported and not recommended. The best thing to do is upgrade to the latest version of Mirth Connect.
Reply With Quote
  #13  
Old 02-27-2015, 06:06 AM
nreddy nreddy is offline
OBX.2 Kenobi
 
Join Date: Jan 2015
Posts: 72
nreddy is on a distinguished road
Default

Thanks Brentm for information.
But tried to update the mirth database.
version :3.0.0.6931
database: sql 2008 r2
I am trying to clear the dashboard statistics. so i created one channel, in which destination is database writer. i am querying the database with update query
Quote:
UPDATE [D_MS10] SET RECEIVED = 0, FILTERED = 0, SENT = 0, ERROR = 0;

query is executing fine and the table is also updating with zeros but the statistics values on dashboard are not changing.

am i missing something?


Thanks.
Reply With Quote
  #14  
Old 02-27-2015, 08:23 AM
brentm brentm is offline
Mirth Employee
 
Join Date: Jan 2012
Posts: 85
brentm is on a distinguished road
Default

Quote:
query is executing fine and the table is also updating with zeros but the statistics values on dashboard are not changing.

am i missing something?
The statistics are cached in the server's memory, so updating them in the database will only take effect after restarting the Mirth Connect server.
Reply With Quote
  #15  
Old 03-02-2015, 09:09 AM
nreddy nreddy is offline
OBX.2 Kenobi
 
Join Date: Jan 2015
Posts: 72
nreddy is on a distinguished road
Default

So is there a way to clear the statistics in version :3.0.0.6931 ?
Reply With Quote
  #16  
Old 03-02-2015, 01:18 PM
brentm brentm is offline
Mirth Employee
 
Join Date: Jan 2012
Posts: 85
brentm is on a distinguished road
Default

In version 3.0.0 there is no supported method of clearing the message statistics in javascript. You would have to access the Mirth Connect internals, but that is unsupported and not recommended. The best thing to do is upgrade to the latest version of Mirth Connect.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 03:52 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation