Last week I attended Microsoft’s Build Conference in Seattle. I was helping at the .NET Open Source booth which promoted the .NET Foundation and all things open source. The conference was very nice, and the energy level was high. I had conversations with a wide variety of people during the conference and it is obvious that Microsoft’s strategy of embracing open source is welcomed by developers.
During one of my discussions a gentleman told me that his organization uses open source software (OSS) and he wants to allow his developers to contribute to OSS, but he needed to be able to justify it to his corporate leadership. His organization is a large, global organization so he needed solid and clear reasoning for why contributing to OSS is something his company should support.
He asked me if I knew of any blogs or resources that could provide insight into this topic. I thought about it and while I’m sure there is info somewhere, I wasn’t aware of any specific blogs or content about this subject. I am obviously biased about this topic, but let’s consider some reasons why a business should support OSS… especially if their organization is using OSS-based products.
Before we list out reasons we should first define what “support” means. When business people hear the term “support” they generally think about money, cost, or financial implications. Though, in the open source world it’s not necessarily about money as support can come in many different forms. Of course, the obvious need for any OSS project is code contribution, but there are more ways to contribute than one may initially think. As examples outside of the code, organizations could allow their developers to assist in marketing and promotions of sub-projects, conferences, user groups, GitHub repos, project documentation etc. Developers could also volunteer in any area of the OSS project as well as exchange knowledge online via forums, blogs, StackOverflow, and others. Organizations could also open up their offices for user group meetings, donate swag & door prizes, or sponsor the food at meetings. Any step taken to help move the the OSS project forward is a form of support.
Now that we know that support can come in forms outside of financial contributions let’s get back to the subject. If you are faced with the need to justify supporting open source software to your business leadership here are some thoughts and ideas to consider:
In this blog I’ve summarized my thoughts around why it’s important for organizations to give back, be active in, and support OSS projects and communities. As one considers justifying OSS participation to the business side of an organization much of the conversation will center around educating the business-side on how OSS ecosystems function. Communicating the potential positive benefits will be what’s needed to help bring on a change in perspective or cultural shift within the organization.
In my mind there are only positives to gain from contributing to OSS projects. Your developers will learn more, be empowered, meet new developers of all ages and skillsets, and your organization will be more efficient, and will likely be viewed as a great organization to work for.
If you don’t want to jump in head first then just try this one small thing to get your feet wet - if your developers have “down time” then simply encourage them focus their energies and time to assisting with the OSS project in any area they choose and watch what happens to your company in the months ahead. Be sure to pay attention to job satisfaction levels, quality of incoming new hires, general passion for work, and the perception of your organization among developers in your space.
After all, have you noticed that OSS projects that thrive are the ones with active community support? Who doesn’t want the project they use to not thrive? From my perspective the benefits of contributing to open source software far outweigh the drawbacks of not contributing.
Well there was not too much going on this week as it was rainy and dreary outside and since we had no game. As I stated before this was our originally scheduled off week. Since it was raining outside a few days this week, I stayed in and messed around. The weather over here is very fickle. For those of you with a weak vocabulary, fickle means that it changes easily. It will be hot one day, then cold the next and rain can come and go at the drop of a hat. During the week I was on the net until my eyes crossed and then I watched some TV as well. This is when I noticed that the censorship here is not as tight as it is in the states. That is audio and visual censorship. It was similar in Finland as well. We still had practice this week and I lifted weights a time or two, but I was still sore from the game.
I squeezed in my first tennis match early in the week. I have never played tennis before and if I could keep it between the lines its pretty hard to return, but the keeping it between the lines part gives me some problems. I went and played with some friends and Ilija and his brother. When Ilija and his brother played it was like watching 2 professionals. They made me stand in there for a few hits and the balls were coming so fast I couldn't hardly see them, much less return them. Tennis is a big sport over here, but soccer seems to be #1 with hockey coming in at #2. Who knows where American football falls in that sequence. I also saw a rugby match this week as well.
This week they had a holiday on Thursday, I believe, so everyone was out in the street during the day and out on the town at night. During the day they have people just singing in the middle of town square to everyone. Its like a free concert if you like that kind of music. They seem to draw somewhat decent crowds. I went to the big mall here called the NK one day with some friends and also went in several other stores downtown. Lets just say that I will never be buying anything inside of the NK building. One of my friends here bought a T-shirt that that would equal a price of 40 dollars...just to give you an idea. Though there were some attractive females on the inside. On a side note...I don't think that I have my hours adjusted totally as I continue to stay up late and sleep in. This way I can talk to my friends on line from the states as well as manage my schedule here. The nights are starting to be lighter longer which makes it hard to adjust to.
On Friday night some of the guys went out downtown. We went to 2 different clubs/restaurants or whatever you want to call it. There was a woman in there taking pictures. I asked her what she was taking them for and so she informed me that there is a nightlife website for Stockholm and so I jumped in behind two girls while they were having their picture taken. I was laughing, but click here to see it. Then I was able to get Ilija away from all of the women long enough to get a picture with him. Check it out here. Yeah so maybe I should have shaved, but there wasn't anything worth me shaving for in there anyways...hahahaa.
So on Saturday since we didn't have a game we went to watch 2 teams in our league play. I also met another guy from my last years team in Finland at the game. We had planned to meet there and so it was good to see none other than Mr. Kasper Johanson and his woman at the game. He rode the boat over to hang out with his brother who lives in Stockholm so he just swung right over to the game and watched it with us. We watched the Stockholm Mean Machines vs Carlstad. Upon entering the game we got a free magazine that had half clothed women in it. Another thing you wouldn't see at home. Carlstad is the team that wore us out in the first week and Stockholm beat them 26 - 21. Stockholm capitalized on some big plays during the game and were able to hold on for the victory. There was some pad popping going on in that game too. During the game one player injured his inner thigh. So what did they do...he just laid down on the sideline, pulled his football pants down and the female trainer was their massaging his inner thigh. I mean he still had other clothing on, but it was just something that you would not have seen at home. At half time they had a punt, pass, kick contest, but I didn't enter though I would have won by a long shot. I was tempted though.
On another side note Arlanda beat the team from Moscow in the Eurobowl series. I'm trying to paint a picture here for you so you can see how the deck is stacked. The team I played for last year ( Turku Trojans ) beat Arlanda 10 - 0 two weeks ago. The following week we played Arlanda and lost 22 - 21. Turku lost to Moscow 42 - 0 on that same day and then Arlanda beats Moscow this weekend 17 - 7. So it seems that on any given day any team can be beat. Hopefully we'll get our act together and be able to compete.
Today is Sunday and my cousin David Patterson flew into Sweden. He just recently graduated and this was his first time in Europe and I was present when he sat foot in Scandinavia. On the way there and on the way back we saw some moose. We saw a total of 3. One of the guys, " Diesel " as known by females all over Stockholm, was with us and he said that its not that frequent that you see something like that. He said that he's seen maybe 3 or 4 in his whole life. So as you can see whenever you have more than one Patterson at the same place anything magical can happen. Who knows what will happen downtown this week. We had some girls at McDonald's giggling already. I think they notice that you're not from Europe when they see you with baggy pants on. That's pretty much the tip because baggy is not the style here. We will try to get some good pictures while David is here and post them on the site next week.
Now we are preparing to play against the Solna Chiefs. We need to have a good week of practice because its time that we get a W. Hope all is well for all of you.
This week we were supposed to have a game, but the team we were scheduled to play is competing in the Euro Bowl so that game took precedence over a regular league game thus giving us an open week. Each year whichever team wins the league championship in their country gets a bid to the Euro Bowl in the upcoming year. Well last year at Turku we won so this year they are playing in the Euro Bowl series. The leagues in different countries across Europe intertwine the regular season games with the Euro Bowl games so it can get confusing. Anyways...Turku played against the Arlanda Jets from Sweden and beat them 10 - 0 this past Saturday and now will be heading to Moscow, Russia to play in the next round. So congratulations again to my guys in Finland. Many of them called me after the game and it was good to speak with the guys again. I hope they can pull it off in Russia as well. Now our upcoming game for this week is against who...none other than the Arlanda Jets. Yes, it seems like a coincidence to me too, but who knows.
Since we didn't have a game I did a little sight seeing. Some of the guys here took me around to different places in Stockholm to see some sights. We went to the castle as you will see in the pics. It was a pretty big place that sat right by a lake and seemed to be on the outskirts of town I guess. They have guards that walk around in blue to " protect " the castle. They walk with a unique step I might add. The king has a nice sized yacht sitting out back beside the castle as well. I did not go in for the tour because I'm too cheap to pay money for that. The pictures will explain the castle better than my words so I will just let you view them here.
So as you can see the King is fit to throw a good party if he wants to. Somebody said something about a single princess around their somewhere, but that doesn't necessarily mean she's good enough to be Mrs. Patterson you know. So after we did MTV cribs at the king's house we went into town and checked out where he works. There were guards there too and we just happened to catch them when they were changing. If you care to view a small segment of that then click here . There is more to it than what that video shows, but I don't have enough space on my server to put it all up there. So that was pretty neat.
After this we went to the highest point in Stockholm, which has a good view of the city. I put a span view of the scene there online too, so click this if you want to see it. I can't make the resolution to high on these for storage sake as well. If you look at it you will see a theme park on the right hand side of it right when the clip starts. They have a drop zone that is higher than the one at Carowinds. Needless to say I will not be participating on that ride when we go there. From this view I got some pics as well. Check them out.
We saw some more things as well in the city, but none that I thought I should put on here (picture wise that is )...for example we went by the embassy. This was all early in the week. I still did the general weight lifting and practice stuff too so don't think I'm trying to slack. I did receive a very nice package in the mail this week too so thanks Karen for throwing the hook up and I do mean the hook up. We also had some fun @ McDonald's this week. Check out the European version of the double nodd . However the double nodd was unsuccessful in achieving anything. Speaking of McDonald's ... I went into a McDonald's and was looking around when I noticed that they serve beer. I was informed that its only " light beer " so its ok. hmm. I was thinking of suing because they didn't offer low carb beer with the meals, which aids in making consumers fat due to lack of beverage options, but I'm not sure if I'll pursue it or not yet. lol. Since we didn't have a game some of the guys went on Saturday and scouted some of the other teams in the league that were playing. It was a pretty good experience, but I saw some turf that I am not looking forward to playing on. Then on Sunday I went down with the juniors and watched them play a game in Nyköping Sweden. It wasn't a bad ride. We had a pimp bus driver that Rauge interviewed. Seems he was a guru of facts on Thailand so therefore he gets his picture on the page and also because he also gave us a ride to McDonald's after he dropped the team off.
I know I have said McDonald's like 70 times now, but you don't realize how many McDonald's there are over here. They have a monopoly. You can find a Burger every now and then.
Also I saw some of the weirdest referees ever...check out the pics
Well this week was our off week for the season. This didn't bother me that bad because obviously it was like a week off. We only had practice one day so that was ok. We did the normal lift weights and sit in the sauna Mon-Wed. Wednesday night we went to a club and saw Miss Finland from last year and yes she was fine standing about eye level to me. However, I wasn't going to let her think that she was good enough for me to talk to or something. She was being harassed enough as it was, but then again..she was fine. I almost witnessed my first Finnish street fight as well. Some drunks where harassing a man at his hamburger stand and he did shove the guy and they were about to get into it, but then the cops came and arrested the drunk man before any dukes were officially thrown.
On Thursday afternoon we left for a town called Pori, which is where my head coach lives. In Finland they have a festival in the summer that is basically called "midnight summer" or something to that effect. Its the day with the longest amount of sunlight and marks the middle of the summer. They say it is tradition to go to people's summer cottages/cabins and celebrate. So on Thursday evening we went to the golf course where they were having a tournament that my coach played in. I don't think he won, but he did beat JP so its all good. After that on Friday we went to the cabin. We had to ride about 20 minutes or so and we were deep in the woods sitting right on the baltic ocean. Now this ocean is not like the ocean that we have at home. I didn't see a beach, but this may have been due to my location. I do know that our water never gets that cold though, specially in the summer. I think they must feed their mosquitos protein powder or something because they are big and they are plentiful. It was a job to keep them off of you, but we did have some OFF with us and a grill going and some candles and things so the combination of smoke and off helped keep them down. And yes, the cabine did have a suana in it. This one was a wood suana though which is a little bit different than an electric suana. They say it is tradition to sit in the suana and then go run and jump in the ocean. Now before I came here one of my friends,(PGA Champion) Paul Tucker gave me some advice. He said "no matter what they tell you, don't jump in the Baltic Ocean". Well sorry Paul, I had to go against his advice and jump into the ocean with the rest of the guys. We sat in the suana for so long that when we came out we were steaming like we were on fire, then we jumped in the ocean and it still took my breathe. I could only stand to be in there for like 25 seconds then I had to get out and go directly back into the suana. What had seemed to be so hot, now seemed nothing. They also brought some leaves in off of this certain type of tree and put them on the rocks of the suana. These leaves gave off a fragrance that opened up your sinuses and smelled like aroma therapy or something. It was pretty neat.
I did go fishing on the Baltic ocean though I didn't catch any fish. This could have been due to several factors. My fishing guide was slack and claimed to know where the fish were. Instead of finding fish, I found water all over my back from the wakes of the waves. I didn't have my own rod and reel, which we all know is crucial and I couldn't feel my fingers for the second half of the trip in the boat. Not to mention that this wasn't one of my frequent fishing holes.
We did get to eat some different things while we were there too. We ate perch, salmon, and heron or something like that and some of these were raw. I had trouble getting some of these raw fish down, but I did try them. You can see the pics for better explanation. We grilled out and ate hot dogs, sausages and everything. The people were all nice and we were always outside doing something or listening to music. There must have been about 15 people in all. Mainly everyone was chilling and relaxing. We did play spades and representing the USA, Marlon and I did win 20 euros off of some Finnish patrons. We were also taught about our government and all of the political issues at hand. After a long day on the ocean here's what JP had to say about one topic Click . I never knew that we, the USA, are wrong in everything that we do, but I was informed of it all day long. Nah, just joking we had a good time though we were outnumbered.
Trying to get to sleep was another battle in itself. Marlon and I both slept with cans of off in our hands, but still suffered bites from these cornfed mosquitos. I tried to cover my body with the blanket , but this just made me hot...so you could see the dilemma. After overcoming the magnified snoring and afer the singing of 2 strangely dressed Finns we were able to sleep for a few hours. We stayed at the cabin for 2 nights.
I’ve recently been researching Splunk and have been impressed with its power, flexibility, and ease of use. This blog is not intended to be a step-by-step tutorial, but rather is aimed to show some initial findings, overview one way to integrate Splunk with DNN, and paint the picture of some potential use cases.
So What is Splunk?
If you don’t already know what Splunk is, Splunk is a software company based in San Francisco that produces software for searching, monitoring, and analyzing machine generated big data via a web style interface. Splunk’s software helps organizations with operational intelligence, log management, application management, enterprise security and compliance.
Installing Splunk was simple and after clicking around a little while it was evident that Splunk is an intuitive software. From a UI standpoint, it makes logical sense and the flow is easy to understand. And it didn’t take long to see and understand how powerful it is.
As you may imagine, I began to wonder if and how I could integrate Splunk with DNN.
DNN + Splunk: One Way to Connect the Two
One of Splunk’s powerful features is that it can literally suck in all types, styles, and formats of data. This data can be machine data, log files, or even data from a REST API. There are several mechanisms for getting data into Splunk, but for this scenario, DNN’s web API implementation makes this an easy fit. On the DNN side, a developer can easily create a custom module using web services to expose any DNN data on an endpoint, which Splunk can then access. If you’d like to go the custom module route, check out my other blog series on module development. However, I did not write a custom module to test the integration.
For my initial investigation into Splunk I chose to use DNN Sharp’s API Endpoint module as it allows easy configuration of end points. Splunk is architected to consume any type of data and then it makes that data extremely easy to search, create visualizations and/or alerts with. These searches, visualizations, and alerts can be very basic or very complex in nature.
Another thing to note is that Splunk is architected to do this at scale and can easily parse enormous amounts of data. For example, every time you drink from a Coca-Cola “Freestyle” machine at a fast food restaurant, the data from your drink selection is logged and Splunk helps analyze the data, denote trends, and sends alerts. So yes, those Coke machines (all across the world) are connected IOT devices and Coke is a Splunk customer. See how Coke is using Splunk in the Splunk Conf 2014 Keynote replay session. Imagine how much data that is on a global scaled --> Splunk is helping Coke make sense of it.
Side note: Check out the blog I wrote on using Particle & Splunk to monitor temperature
So, my first goal was simple: see if I could get data from DNN into Splunk.
Sticking along the thought process of “data logs” I figured why not expose the DNN event log on an endpoint and see what I could make happen. Obviously, the event log may not be the best use case as site administrators can clear logs or processes to automatically clear logs sometimes exist. However, for this initial test it is a good candidate. To get the event log data on an end point I used the DNN Sharp API Endpoint module to make a SQL query on the event log view and return it as JSON.
With the event log now sitting out there as JSON on a DNN end point now all I needed to do was get it into Splunk…
Getting REST Data Into Splunk
The Splunk side of this configuration only took a few minutes to configure and keep in mind I’m no Splunk guru (read, it’s easy!). Splunk is similar to DNN in that it’s extensible. Splunk extensions can be found on the Apps and Ad-Ons sections of the Splunk website. I tell you this because ultimately, I followed a blog by Damien Dallimore on getting REST data into Splunk which used a modular input extension and that was all it took. I simply completed the required fields in the Splunk REST Modular Input as shown below.
I chose to poll the data every 60 seconds. With this information inputted I clicked save and returned to the Data Inputs screen of Splunk and chose my newly created data source.
BOOM! I was seeing DNN event log info in Splunk!
Searching, Visualizations, & Alerts in Splunk
With data in Splunk now I needed to proceed to using Splunk to make sense of the data. Splunk’s searching functionality makes it very easy to search for, well... anything you'd like. I’m not yet knowledgeable enough to fully explain all the capabilities, but what I can easily see is that you can select your data source, click on keywords, add them to the source's search criteria and set your desired timeframe for the search. It’s feels as if you have a Google search bar and all your searches are performed on your data source and intellisense & syntax highlighting for your search are provided too!
Once you have a search returning data you can then create visualizations or alerts. And yes, there are tons of visualizations provided by Splunk. These visualizations can be saved as reports or live as “panels” that reside on dashboards. Dashboards can have as many panels as you want and you can have multiple dashboards if you like. Also, you can easily embed these panels into DNN or any other location by clicking the “convert to HTML” link that each panel has. Being able to display this info anywhere you like is a neat feature. Are your mental light bulbs turning on yet?
So, I created a few visualizations based on event log data that was available. I created a number-based-visualization to show a large number that represented a count of 404 errors, a line graph showing the number of failed logins, and a chart showing the 404’s over time. So, in just minutes Splunk was already helping me understand that I have some issues going on with one of my sites. I believe one reason for the 404's is that I've renamed some pages that I think bots are targeting trying to register. Anyways, I've got work to do... don't judge!
Opening Up Possibilities
Now you may be looking at this and thinking to yourself, yeah this is neat, but I could create a custom module to make something similar to this happen. And you would be correct, but keep in mind the potential use cases, flexibility, and scalability of Splunk in comparison to a custom module. You could easily have all your customers as data sources and create dashboards to help you (and your customers) quickly understand what’s going on with your customer's applications. You could also do data mashups of data from a DNN website/web app, some IOT device out in space, and any other data source you can think of to provide valuable insight. And again, Splunk has no problem doing this with massive amounts of data.
With just a little research into Splunk it didn’t take long to get my mind spinning with all the possibilities within DNN and beyond. Think about your current DNN use cases, requirements of your customers, and the exploding IOT market and you’ll soon see the light.
Here are some ideas I had right off the bat:
As you can see the power and flexibility Splunk provides is really nice. I believe Splunk could be a game-changer especially for those with large amounts of data to parse, anybody in the IOT space, and much more. I hope this blog has provided you with an introductory glimpse into some of the capabilities of Splunk and even got you thinking of potential ways to integrate Splunk into your applications or customer's environments. I am still learning about it and hope you will too. I know that I'm just scratching the surface here in my initial findings.
Find out more about Splunk at http://www.Splunk.com