| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| HenriqueS Beginner
 
 
 Joined: 01 Feb 2007
 Posts: 29
 Topics: 14
 
 
 | 
			
				|  Posted: Thu May 13, 2010 4:04 pm    Post subject: How to read SYSLOG data |   |  
				| 
 |  
				| Hello, 
 Is there a way (I prefer C or Java) to read the lines written to the SYSLOG?
 
 I
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| kolusu Site Admin
 
  
 
 Joined: 26 Nov 2002
 Posts: 12394
 Topics: 75
 Location: San Jose
 
 | 
			
				|  Posted: Thu May 13, 2010 4:16 pm    Post subject: |   |  
				| 
 |  
				| HenriqueS, 
 Mainframe Syslog?
 
 Kolusu
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| HenriqueS Beginner
 
 
 Joined: 01 Feb 2007
 Posts: 29
 Topics: 14
 
 
 | 
			
				|  Posted: Thu May 13, 2010 4:48 pm    Post subject: |   |  
				| 
 |  
				| Yes, I am talking about the SDSF-->LOG one... |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Bill Dennis Advanced
 
  
 Joined: 03 Dec 2002
 Posts: 579
 Topics: 1
 Location: Iowa, USA
 
 | 
			
				|  Posted: Thu May 13, 2010 7:02 pm    Post subject: |   |  
				| 
 |  
				| Your site probably offloads the SYSLOG to a sequential file daily or weekly. You can process that file. 
 Check with the support people.
 _________________
 Regards,
 Bill Dennis
 
 Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| HenriqueS Beginner
 
 
 Joined: 01 Feb 2007
 Posts: 29
 Topics: 14
 
 
 | 
			
				|  Posted: Fri May 14, 2010 9:50 am    Post subject: |   |  
				| 
 |  
				| Well, I think I have to get 1-minute updates on SYSLOG chances, pretty much like a SYSLOG monitor. 
 What do you advise?
 
 
  	  | Bill Dennis wrote: |  	  | Your site probably offloads the SYSLOG to a sequential file daily or weekly. You can process that file. 
 Check with the support people.
 | 
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| kolusu Site Admin
 
  
 
 Joined: 26 Nov 2002
 Posts: 12394
 Topics: 75
 Location: San Jose
 
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| HenriqueS Beginner
 
 
 Joined: 01 Feb 2007
 Posts: 29
 Topics: 14
 
 
 | 
			
				|  Posted: Fri May 14, 2010 1:31 pm    Post subject: |   |  
				| 
 |  
				| Thanks, this helped a lot. |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Anuj Dhawan Intermediate
 
 
 Joined: 19 Jul 2007
 Posts: 298
 Topics: 7
 Location: Mumbai,India
 
 | 
			
				|  Posted: Sat May 15, 2010 12:29 am    Post subject: |   |  
				| 
 |  
				| I'm confused, invoking SDSF in batch and saying this 	  | HenriqueS wrote: |  	  | Thanks, this helped a lot. | 
 how do these two sentences go with each other! 	  | Quote: |  	  | (I prefer C or Java) to read the lines written to the SYSLOG? | 
  _________________
 Regards,
 Anuj
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| semigeezer Supermod
 
 
 Joined: 03 Jan 2003
 Posts: 1014
 Topics: 13
 Location: Atlantis
 
 | 
			
				|  Posted: Sun May 16, 2010 3:08 pm    Post subject: |   |  
				| 
 |  
				| two possibilities - its a good but not preferred solution or c/java will be used to post process the results. 
 Personally, I'd go with the new Rexx interface to SDSF.  Very easy to use and its Rexx which couldn't be simpler to learn.
 _________________
 New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| papadi Supermod
 
 
 Joined: 20 Oct 2009
 Posts: 594
 Topics: 1
 
 
 | 
			
				|  Posted: Sun May 16, 2010 4:50 pm    Post subject: |   |  
				| 
 |  
				| Depending on just exactly "what" syslog data is going to be monitored, it might be possible to use console automation (if used) to capture the desired info. . . 
 
 What is to be looked at every minute? 	  | Quote: |  	  | Well, I think I have to get 1-minute updates on SYSLOG chances | 
 _________________
 All the best,
 
 di
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  | 
	
		|  |