Wednesday, December 7, 2022
Home Integration/Interfaces How to Quickly Configure the Data Pruner in Mirth Connect

How to Quickly Configure the Data Pruner in Mirth Connect

1. Open Mirth Connect Administrator Launcher and click Launch on your desired environment.

2.  Login to Mirth Connect Administrator.

3. Click on Settings on the left-hand side.

4. Click on the Data Pruner tab.

5. Enable the Schedule by selecting the Yes radio button option.

6. Choose your Schedule Type.

The Interval option runs the Data Pruner at the interval you set, which occurs in milliseconds, seconds, minutes, or hours. The Time option runs the Data Pruner at a set time on a schedule. Additionally, the Cron option lets you write an expression to describe the frequency at which the Data Pruner should run. Cron is infrequently used unless you are an avid Linux user. Often, Engineers and Developers will set the Data Pruner to run every hour (see below).

Another common option is to run the Data Pruner every day at midnight (see below).

Note that if you click the Settings icon near the Schedule then you can set the details of the schedule for the Time Schedule Type.

7. Keep the Prune Settings as the default configuration.

8. The Archive Settings allow you to save off messages when data is being pruned.

If you need to archive message data to files before the data is purged you must enable and configure the Archive Settings. Use the Content drop-down to select which form of the message you want to archive off.

Additionally, you can optionally choose to encrypt your archived messages, include attachments, or compress the data. The root path will be the directory where the files are written. This will often be a shared folder on the network of your organization.

Finally, you will give a file pattern for the names of the archive files. Most likely you will use some pre-defined string of text concatenated with one of the variable choices on the right-hand side. Feel free to drag and drop as you please.

At this point the Data Pruner should be running on your Mirth Connect instance. Feel free to check back in Settings at any time to see information regarding the Data Pruner’s last run.


Why You Must Learn Mirth Connect’s User API Now

Prerequisites Basic knowledge of Mirth ConnectBasic knowledge of JavaScriptBasic knowledge of software documentation and APIsBasic knowledge of Java development NextGen provides several different APIs (Application Programming...

Leverage Mirth’s Channel Scripts Now

Prerequisites Basic knowledge of Mirth ConnectBasic knowledge of JavaScript Each Mirth Connect channel gives you the ability to leverage four different scripts that have different triggers,...

Reference a Custom Jar File in Mirth Connect Now

Prerequisites Knowledge of Java developmentKnowledge of Eclipse or another Java IDEKnowledge of Mirth Connect Many Mirth professionals are unaware that they can write their own custom...

Most Popular

Mirth Connect Extensions: What You Need to Know

Prerequisistes Basic Knowledge of Mirth Connect Overview Users can navigate to Mirth Connect's Extensions screen by selecting Extensions on the left-hand side. You should now see the following...

Take a Tour of System Settings in Mirth Connect Now

Prerequisites Basic Knowledge of Mirth Connect Introduction Mirth Connect has a multitude of system settings that are available for configuration. In larger companies, there will often be...

Why You Must Master Mirth’s Message Template Tool Today

Prerequisuites Basic Knowledge of Mirth ConnectKnowledge of Programming in Mirth Connect Introduction When writing scripts in Mirth Connect, you have a message template tool that allows you...

Make Sense of HL7 v2 Messages Effortlessly Now

Prerequisites Beginner Knowledge of HL7 Introduction If you've been in Healthcare Information Technology for any period of time, you have definitely heard of HL7 (Health Level 7)....

Recent Comments