KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

search multiple log files

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
GEI



Joined: 17 Dec 2005
Posts: 22
Location: Lubec, ME

PostPosted: Thu Apr 12, 2018 8:45 am    Post subject: search multiple log files Reply with quote

in the "text log" test, can one use wild cards (*.*, or *.log) to search all the files in a sub-directory for a text string? We put all of our log files in a sub-directory and only want to know if it finds the words that would indicate that there was an error in a log.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 11947
Location: USA

PostPosted: Thu Apr 12, 2018 9:04 am    Post subject: Reply with quote

No, single test will not check multiply files.
Also note: Text Log test checks only NEW records, records added since previous test probe. If you want to scan entire file, use Compare Files test

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
GEI



Joined: 17 Dec 2005
Posts: 22
Location: Lubec, ME

PostPosted: Thu Apr 12, 2018 9:20 am    Post subject: Reply with quote

Thanks, I am assuming that test also will only do the one file.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 11947
Location: USA

PostPosted: Thu Apr 12, 2018 10:08 am    Post subject: Reply with quote

Yes, each test checks 1 file
May be you want to check just 1 newest file?

If you want to check entire files (not just new records), you may use Shell Script test method and standard command line utility "find", it supports wildcards and may check many files.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index