Already have an account? Sign In
Message Queuing (MSMQ) technology enables applications running at different times to communicate across heterogeneous networks and systems that may be temporarily offline. Applications send messages to queues and read messages from queues.
Get started with MSMQ logging by following our configuration example which shows how a queue can hold messages that are generated by multiple sending applications and read by multiple receiving applications.
Open up the Performance Monitor app - You can do a windows search for "perfm" or navigate through Administrative Tools > Performance
From the tree in the left-hand side panel expand as follows:
Performance > Data Collector Sets > User Defined
Right-click "User Defined" and select New > Data Collector Set from the context menu.
Enter the name you wish to give to your set, select "Create Manually (Advanced)" and click "Next".
Select Create data logs > Performance counter and click "Next".
Click the "Add" button and the Counters window will open. On the left-hand side select your computer and from the list below select "MSMQ Queue". Click the "Add" button and "MSMQ Queue" will move over to the right-hand side. Click "OK".
You will see that "MSMQ Queue" has been added to "Performance counters". Below this box you can change the logging interval. It is set at 15 seconds by default. Click "Next" after reviewing and making any changes if necessary.
Here you can change the location of where the log files will be saved. Leave as is and click "Next" if you are happy with the default location given.Leaving the default whilst creating this example placed the folder and files at
Click "Finish" to save and close.
You will see that your new set has been added to the tree under "User Defined". Click your new set and you will see a performance counter in the panel on the right-hand side called "DataCollector01". Right-click this and select "Properties".
Change the Log format to "Comma Separated", click "Apply" and then click "OK".
Right-click your new set in the tree on the right-hand side and select "Start". A csv file will now be created at the location that you stated during the setup. Logs are added to this file at the interval that you requested.
You can now point Filebeat at the folder containing your log file and the data will be ingested. Click here for instructions on how to setup Filebeat.
C:\PerfLogs\Adminand then in here the folder that you created.