Deployment Architecture

How can I tell what is downloading from the Splunk Deployment Server

a212830
Champion

Hi,

The inital page for forwarder management shows the number of clients, the number of clients with errors, and the number of
"total downloads". What does the last one represent? Total downloads over what time period? Does it include active downloads? How can I determine active downloads?

1 Solution

jcrabb_splunk
Splunk Employee
Splunk Employee

In earlier versions of Splunk (6.1 for example), it just says "Total Downloads" which is very ambiguous. In newer versions this is corrected and it instead says "Total Downloads in the last 1 hour".

alt text

As this is not as clear in Splunk 6.1.x, I looked at ClientsSumary.js for "Total Downloads" and found the following:

//Get number of downloads in the last hour
                var recentDownloads = new RecentDownloadsCollection();
                var numSecondsInOneHour = 3600;
                recentDownloads.fetch({
                                data:{
                                    count: 1,
                                    maxAgeSecs: numSecondsInOneHour
                                },
                                success: function(recentDownloads, response){
                                    var numDownloads = "N/A";

                                    if (recentDownloads.length > 0){
                                        numDownloads = recentDownloads.first().entry.content.get('count');
                                        that.$('#downloadsLabel').html(i18n.ungettext("Total download", "Total downloads", numDownloads));
                                    }
                                    that.$('#numDownloadsInLastHour').html(numDownloads);
                                }
                });

                var html = this.compiledTemplate({_:_});
                this.$el.html(html);

Which I believe references this counter and specifies "Get number of downloads in the last hour". This file is located in $SPLUNK_HOME/share/splunk/search_mrsparkle/exposed/js/views/deploymentserver/.

Jacob
Sr. Technical Support Engineer

View solution in original post

sloshburch
Splunk Employee
Splunk Employee

I would recommend asking the documentation team to app an explanation. This page appears to be the best target: http://docs.splunk.com/Documentation/Splunk/6.3.3/Updating/Forwardermanagementoverview

I've found great success with the "Was this topic useful" section.

0 Karma

jcrabb_splunk
Splunk Employee
Splunk Employee

In earlier versions of Splunk (6.1 for example), it just says "Total Downloads" which is very ambiguous. In newer versions this is corrected and it instead says "Total Downloads in the last 1 hour".

alt text

As this is not as clear in Splunk 6.1.x, I looked at ClientsSumary.js for "Total Downloads" and found the following:

//Get number of downloads in the last hour
                var recentDownloads = new RecentDownloadsCollection();
                var numSecondsInOneHour = 3600;
                recentDownloads.fetch({
                                data:{
                                    count: 1,
                                    maxAgeSecs: numSecondsInOneHour
                                },
                                success: function(recentDownloads, response){
                                    var numDownloads = "N/A";

                                    if (recentDownloads.length > 0){
                                        numDownloads = recentDownloads.first().entry.content.get('count');
                                        that.$('#downloadsLabel').html(i18n.ungettext("Total download", "Total downloads", numDownloads));
                                    }
                                    that.$('#numDownloadsInLastHour').html(numDownloads);
                                }
                });

                var html = this.compiledTemplate({_:_});
                this.$el.html(html);

Which I believe references this counter and specifies "Get number of downloads in the last hour". This file is located in $SPLUNK_HOME/share/splunk/search_mrsparkle/exposed/js/views/deploymentserver/.

Jacob
Sr. Technical Support Engineer

MuS
SplunkTrust
SplunkTrust

Hi a212830,

index=_internal will provide data for the last 30 days (that's the default retention for this index). If you search like this:

  index=_internal sourcetype=splunkd deployedapplication

you will get a nice bunch of information out of it.

Hope this helps ...

cheers, MuS

0 Karma

a212830
Champion

Thanks. Found that. I guess my main question is what does that "Total downloads" represent. I can't find anything in the doc that addresses what that number actually means.

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...