Posted: Sun Nov 11, 2012 3:13 am Post subject: how to get message count in every flow?
Novice
Joined: 11 Nov 2012 Posts: 10
i have a sub flow that all my interfaces are using for Logging using ESQL
the thing is that each message came create different message in the Log
and i want to create a file with specific name for each interface and i want to create a counter to count how many message that i have received for each interface .
So how to access the same file every time and how to write the current count
E.X
first time message came it go to Log Flow and some .txt file open and take that number and add 1 and close the file.
Posted: Sun Nov 11, 2012 5:33 am Post subject: Re: how to get message count in every flow?
Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
ghsman wrote:
i want to create a file with specific name for each interface and i want to create a counter to count how many message that i have received for each interface .
So how to access the same file every time and how to write the current count
Why do it that way? Why not use the inbuilt monitoring facilities of WMB to report how many messages the main flow(s) are processing, capture that information and record that in a file(s)?
Saves you having to add a subflow to each main flow that needs a count. _________________ Honesty is the best policy.
Insanity is the best defence.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum