cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Pondering Automation: Building a house of logs

696
Views
10
Helpful
2
Comments
Cisco Employee

Howdy out there in automation land! I hope everyone is having a great fall and are getting ready to open the holiday season. I do plan to do one more blog before 2014 makes way for 2015, probably post it sometime right after Thanksgiving. For this entry I have always wanted to develop a Content Logging system to provide users a way to generate logs for their content and custom code. So I went ahead and did that! This blog reviews some experimental (and I mean highly experimental) content that can serve as a logger for you! Being that it is new and experimental, it comes with no warranty, no support, and probably should only be used in test/dev systems to start with. You *MUST* review the below VOD if you are to use it. It is basically the doc/manual on how to use my CPO Content Logger. You will find links for the actual TAPs below as well.

 

Is the content logger anything revolutionary? No. It uses much of the stuff built into the product already but does "put it all together". At a minimum, like with most of my automation projects, I hope you can just look through the content and get more ideas on how to automate things! If you do decide to use the Logger, then please do so and provide me any and all feedback so I can make it much, much better. If you have enhancement ideas, let me know, if there are bugs, let me know! I will try to get fixes it and updates as often as I can, but this content is "community" content so you can edit it directly. Do note however that I reserve the right to release the "official" one to the public via these forums. Good luck with all your automation endeavors and I hope to see many of you using the Logger in your future automations!

 

now.... ON WITH THE VIDEO!

VOD: https://cisco.webex.com/ciscosales/lsr.php?RCID=9480806bc5774513986ad9dd96873aad

CPO Content Logger Official Release Page:


https://supportforums.cisco.com/document/12346661/cpo-content-logger

 

Automation Functions Toolkit Release Page:

https://supportforums.cisco.com/document/129151/automation-function-tools-version-2000-10-23-2013

 

 

Enjoy!!

Shaun's Monthly Q/A

 

No questions this month! Hopefully we'll get some in to answer for next time!

 

 

Every month I will pick a handful of questions from you, the reading CPO public, to answer in this part of the blog. Please post comments/questions below. I will no longer be using the external e-mail from previous blogs.

 

Please also let me know if you like the format of this blog and what else you would like to see/know about. Feel free to give any ideas as to future blog posts, etc and I will be happy to post them. I hope to  do more how-tos, best practices, tips, tricks, and hopefully some interviews of the important people behind the scenes of CPO.

 

 

WEEKLY AUTOMATION BLOG DISCLAIMER: As always, this is a blog and my (Shaun Roberts) thoughts on CPO, my thoughts on best practices, and my experiences with the product and customers. The above views are in  no way representative of Cisco or any of it's partners, etc. None  of these views, etc are supported and this is not a place to find standard product support. If you need standard product support  please do so via the current call in numbers on Cisco.com or email tac@cisco.com

 

 

Thanks to all for reading and happy automating!

 

 

-Shaun Roberts

 

shaurobe@cisco.com

 

 

2 Comments
Beginner

Hi Shaun

Thanks for this, looks like it could be very useful, quick question on this, is it possible to create multiple instances of this content logger in one environment, i.e. have multiple targets to split up the log folders and content for different applications/uses?

Then slightly off-topic, have you done much around the AMQP side of these, I imagine you probably don't work with CPSC as much, but from what I understand the intent going forward is to use AMQP for communication between CPSC 10.1+ and CPO, at this point I haven't seen too much on how to go about configuring the two.

 

Thanks,

Paul

Cisco Employee

Paul,

 Thanks for the nice comments! To answer your question... no currently.

 

The logger target is showing the service running and then everything is logged to the file location you specify.

 

Your use-case does interest me a ton though, so if you can send the exact use-case/scenario you have to my email (shaurobe@cisco.com) it is something I can put on the plate to enhance the Content Logger :)

 

On AMQP --- I have heard the same. I do work quite a bit with CPSC but more using the adapter or the web service calls. I have not seen any AMQP based code nor do I have any real experience with it. I do not know what kind of help I could be with it in general.

This widget could not be displayed.