Greetings,

I've got a log file which produces content in following format:

"Display Name","User Principal Name","Mailbox Type","Primary SMTP Address","Item Count","Total Size","Total Size (Bytes)","IsArchieved","Deleted Item Count","Deleted Item Size","Issue Warning Quota","Prohibit Send Quota","Prohibit send Receive Quota"
"SMTP User","test@mail.com","UserMailbox","test@mail.com","5276","229.4 MB ","240529973","False","3618","30.47 MB (31,946,421 bytes)","1.96 GB ","1.979 GB ","2 GB "
"SMTP User","test@mail.com","UserMailbox","test@mail.com","5276","229.4 MB ","240529973","False","3618","30.47 MB (31,946,421 bytes)","1.96 GB ","1.978 GB ","2 GB "
"SMTP User","test@mail.com","UserMailbox","test@mail.com","5276","229.4 MB ","240529973","False","3618","30.47 MB (31,946,421 bytes)","1.96 GB ","1.978 GB ","2 GB "
...

to a shared destination in a .csv file. It gets updated every day with an additional single line. Now I want to create a custom .bat or XML sensor to read out new values. Is there a template I can use for handling .csv like these?


Article Comments

Hi there,

So far I know there is no template for this. However, you can check our scriptworld for this:https://www.paessler.com/sensor-hub/all/all/all

In addition, did you already take a look at the File Content Sensor. This Sensor is able to read lines in a file and find certain strings. You can also define that only new lines will be searched.


Nov, 2020 - Permalink