<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Forwarder slow - dashboard fix in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Forwarder-slow-dashboard-fix/m-p/298934#M39161</link>
    <description>&lt;P&gt;You are not getting the function of my search.  It finds the time that the latest event showed up and uses that for &lt;CODE&gt;latest&lt;/CODE&gt; and then sets &lt;CODE&gt;earliest&lt;/CODE&gt; to be 1-hour before that.  I made a guess at what you might like ( the &lt;CODE&gt;1h&lt;/CODE&gt; ) but the solution is there in concept, just pick another value.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jul 2017 14:41:40 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2017-07-12T14:41:40Z</dc:date>
    <item>
      <title>Forwarder slow - dashboard fix</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Forwarder-slow-dashboard-fix/m-p/298927#M39154</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;We have a Splunk Enterprise setup in which we have 12 forwarders. Some of these forwarders are slow in sending data to the indexers (i.e. some of the logs are getting sent around 30 mins later).&lt;/P&gt;

&lt;P&gt;Therefore when we calculate stats for dashboards every 20 mins, the numbers are not correct.&lt;/P&gt;

&lt;P&gt;We do not have any options of upgrading the forwarders.&lt;/P&gt;

&lt;P&gt;Is there anyway we can change the dashboard so that we display the stats at the latest time when all the forwarders logs were available?&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Example scenario&lt;/STRONG&gt;:&lt;/P&gt;

&lt;P&gt;forwarders 1-12 send data at 9.20&lt;BR /&gt;
forwarders 1-8 send data at:  9.30&lt;BR /&gt;
dashboard query runs at: 09:45 (time interval is 'last 20 mins' i.e. 9.25 to 9.45)&lt;BR /&gt;
forwarders 9-12 send data at 09:55&lt;/P&gt;

&lt;P&gt;When the dashboard runs at 09:45, I want it to use time interval 09:00 to 09:20 since this is the latest time when all the forwarder logs were available.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Deepak&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jul 2017 02:31:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Forwarder-slow-dashboard-fix/m-p/298927#M39154</guid>
      <dc:creator>deepak02</dc:creator>
      <dc:date>2017-07-08T02:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder slow - dashboard fix</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Forwarder-slow-dashboard-fix/m-p/298928#M39155</link>
      <description>&lt;P&gt;Hi deepak02,&lt;BR /&gt;
you could use a different time period in your dashboard's searchs: e.g. earliest=-45m@m latest=-25m@m.&lt;/P&gt;

&lt;P&gt;Otherwise you could schedule the searches of each panel in separate scheduled reports (e.g. every 5 minutes) and shot report's results in your dashboards (this solution is very quick in display).&lt;/P&gt;

&lt;P&gt;Anyway I suggest to verify why your logs arrive late: maybe there are some network problems or you should think to a different way to ingest these logs.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jul 2017 06:40:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Forwarder-slow-dashboard-fix/m-p/298928#M39155</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-07-08T06:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder slow - dashboard fix</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Forwarder-slow-dashboard-fix/m-p/298929#M39156</link>
      <description>&lt;P&gt;i would suggest you look at tuning the forwarders. They may simply need more thruput in your limits.conf. Usually when they fall behind it can be because they can't send to the indexers fast enough.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/53138/maximum-traffic-of-a-universal-forwarder.html"&gt;https://answers.splunk.com/answers/53138/maximum-traffic-of-a-universal-forwarder.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jul 2017 13:55:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Forwarder-slow-dashboard-fix/m-p/298929#M39156</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2017-07-08T13:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder slow - dashboard fix</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Forwarder-slow-dashboard-fix/m-p/298930#M39157</link>
      <description>&lt;P&gt;Use the &lt;CODE&gt;metadata&lt;/CODE&gt; command to see what the most recent timestamp is across all of your hosts, set &lt;CODE&gt;latest&lt;/CODE&gt; to that and set &lt;CODE&gt;earliest&lt;/CODE&gt; back from that and parameterize an outer search with a &lt;CODE&gt;subsearch&lt;/CODE&gt;, like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_* OR index=* [|metadata type=hosts | stats max(recentTime) AS latest | eval search="earliest=" . relative_time(latest, "-1h") . " latest=" . latest | table search]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 08 Jul 2017 14:26:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Forwarder-slow-dashboard-fix/m-p/298930#M39157</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-07-08T14:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder slow - dashboard fix</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Forwarder-slow-dashboard-fix/m-p/298931#M39158</link>
      <description>&lt;P&gt;Thankyou. How do I modify the below query?&lt;/P&gt;

&lt;P&gt;application="UserLogin" (index="Production-UserLogin") env="Production" type=* sourcetype=userLogin:Performance (splunk_server=&lt;EM&gt;splunk02&lt;/EM&gt;)&lt;BR /&gt;
| eval count=1 &lt;BR /&gt;
| timechart per_minute(count) as trans_per_min&lt;BR /&gt;
| stats max(trans_per_min) as "Transactions-per-minute"&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:47:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Forwarder-slow-dashboard-fix/m-p/298931#M39158</guid>
      <dc:creator>deepak02</dc:creator>
      <dc:date>2020-09-29T14:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder slow - dashboard fix</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Forwarder-slow-dashboard-fix/m-p/298932#M39159</link>
      <description>&lt;P&gt;Do it EXACTLY like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="Production-UserLogin"  [|metadata type=hosts | stats max(recentTime) AS latest | eval search="earliest=" . relative_time(latest, "-1h") . " latest=" . latest | table search] application="UserLogin" env="Production" type=* sourcetype=userLogin:Performance (splunk_server=splunk02)
| eval count=1 
| timechart per_minute(count) as trans_per_min
| stats max(trans_per_min) as "Transactions-per-minute"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 10 Jul 2017 03:28:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Forwarder-slow-dashboard-fix/m-p/298932#M39159</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-07-10T03:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder slow - dashboard fix</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Forwarder-slow-dashboard-fix/m-p/298933#M39160</link>
      <description>&lt;P&gt;Thankyou woodcock.&lt;/P&gt;

&lt;P&gt;I do not want the '1hour' to be hardcoded. &lt;/P&gt;

&lt;P&gt;What I need is this:&lt;BR /&gt;
The dashboard query should use the data from a time when the indexer received data from all the forwarders. This could be an hour back, 2 hours back or a day back.&lt;/P&gt;

&lt;P&gt;Currently, 1 or 2 of my forwarders are sending logs a little late. Therefore the numbers that come up on the dashboard are incomplete.&lt;/P&gt;

&lt;P&gt;I want the dashboard to display only accurate numbers (i.e. calculated from complete data), even if this means the data is an hour or 2 or a day old.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2017 13:57:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Forwarder-slow-dashboard-fix/m-p/298933#M39160</guid>
      <dc:creator>deepak02</dc:creator>
      <dc:date>2017-07-10T13:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder slow - dashboard fix</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Forwarder-slow-dashboard-fix/m-p/298934#M39161</link>
      <description>&lt;P&gt;You are not getting the function of my search.  It finds the time that the latest event showed up and uses that for &lt;CODE&gt;latest&lt;/CODE&gt; and then sets &lt;CODE&gt;earliest&lt;/CODE&gt; to be 1-hour before that.  I made a guess at what you might like ( the &lt;CODE&gt;1h&lt;/CODE&gt; ) but the solution is there in concept, just pick another value.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 14:41:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Forwarder-slow-dashboard-fix/m-p/298934#M39161</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-07-12T14:41:40Z</dc:date>
    </item>
  </channel>
</rss>

