Usage:  loganalyse [-h] [-f modus & -z path & -s pattern] [-m month] [-d day] [-t time] [-a day]

Options:
-h					: Displays this help
-f		0,1			: Modus 0 = chart in the console 1 = Create CSV
-z		/xx/xx.log	: Path to the log file
-m		1 12		: Separated by spaces beginning to End Month to be investigated
-d		1 31		: With spaces separated day range to be analyzed
-t		1 24		: Separated by spaces hour range to be analyzed	
-a		1-360		: Period length in days 1-360 Possibly
-s		sshd,root:	: Pattern that should be used for Searching

Search Pattern:
A pattern consists of 1 to n search blocks such as sshd,root: sshd,faild
The above example is a pattern with 2 search blocks.
For a hit on this example 2 words of one of the search blocks
must be found in one row of the log.

This version of the log analysis program will work without console parameters too.
Start the program without parameters and you can witch on the Help at the menu.
You can use the default log paths and pattern, or specify your own Path and search pattern 
and save the pattern for later use.


Example:

Nr.1
  analyse -d 1 31 -z /PathToLog/fake.log -f0 -s sshd,not,allowed:sshd,invalid,user -a 1 -m 1 12 -t 1 24

  Output:

  We found 15 results.                                                                                                                                                       
  Max Results:   12                                                                                                                                                                     
  ^                                                                                                                                                                                     
  |                                                                                                                                                                                     
  | x                                                                                                                                                                                   
  | x                                                                                                                                                                                   
  | x                                                                                                                                                                                   
  | x                                                                                                                                                                                   
  | x                                                                                                                                                                                   
  | x                                                                                                                                                                                   
  | x                                                                                                                                                                                   
  | x                                                                                                                                                                                   
  | x                                                                                                                                                                                   
  | x                                                                                                                                                                                   
  | x                                                                                                                                                                                   
  | x                                                                                                                                                                                   
  |xx                                                                                                                                                                                   
  |xx                                                                                                                                                                                   
  |xx                                                                                                                                                                                   
  ===> Period Max 2                                                                                                                                                                   
																							
  Per x approximately 0.80 hit and  ~ means there are less than  0.40.                                                                                                                        
  ((This chart is only a reference value is not 100% exact.)                                                                                                                    
  Period.1 = 3     Period.2 = 12                                                                                                                                                      
                                                                                                                                                                                      
 Continue with ENTER.            

Nr.2 Now we do the same with -f1
  analyse -d 1 31 -z /PathToLog/fake.log -f1 -s sshd,not,allowed:sshd,invalid,user -a 1 -m 1 12 -t 1 24

  Output:
   We found 15 results.

  File dia6.csv  has been stored in the CSV folder in your Home Folder
  Continue with 1. 

  Contents of the file:

  ;Hits
  P1;3
  P2;12

These were now only two examples. 
The search and parameter values ​​are variable and can be modified by you.

