I have added the log.count item to read the total number of lines in a log file to provide us with a count of conditions that meet a certain criteria. When the item runs the first time it is returning the correct row value, but subsequent times it returns a 0 as from what I understand it is looking for new items only. Looking at the parameters is there a way to return the total value each time to see the change over time.
Here is the syntax we are using for the item:
log.count[C:\Scripts\Password Project\PWOlder90.csv,,,,,,,]
The file changes once a day after a script is run and the current file contains 403 entries. Here is the value output to illustrate the issue:
Here is the syntax we are using for the item:
log.count[C:\Scripts\Password Project\PWOlder90.csv,,,,,,,]
The file changes once a day after a script is run and the current file contains 403 entries. Here is the value output to illustrate the issue:
| 2022-12-01 16:57:41 | 0 |
| 2022-12-01 16:56:41 | 0 |
| 2022-12-01 16:55:41 | 0 |
| 2022-12-01 16:47:41 | 0 |
| 2022-12-01 16:46:41 | 0 |
| 2022-12-01 16:45:41 | 0 |
| 2022-12-01 16:44:41 | 0 |
| 2022-12-01 16:43:41 | 403 |
Comment