<?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: How to calculate HTTP throughput in GB and average HTTP throughput in KBits/Sec? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-HTTP-throughput-in-GB-and-average-HTTP/m-p/430175#M122999</link>
    <description>&lt;P&gt;we are sending application load balancer access logs to splunk those are https requests .i want to calculate  those requests throughput in GB and kbps for 12 hours.&lt;/P&gt;

&lt;P&gt;https 2019-06-21T06:33:39.959419Z app/awseb-AWSEB-1JTW8WORB68BR/40c70a85fc395740 10.194.7.56:63076 10.194.8.31:443 0.000 0.080 0.000 200 200 582 6403 "GET &lt;A href="https://sifoprod.v3locity.com:443/api/pagecomponent/validGrids"&gt;https://sifoprod.v3locity.com:443/api/pagecomponent/validGrids&lt;/A&gt; HTTP/1.1" "Mozilla/5.0 (Windows NT 6.2; WOW64; Trident/7.0; rv:11.0) like Gecko" ECDHE-RSA-AES128-GCM-SHA256 TLSv1.2 arn:aws:elasticloadbalancing:us-east-1:734006704080:targetgroup/awseb-https-Q1QV9SXV1CT0/67aabd91e38ca297 "Root=1-5d0c7a43-210208c1db4fb6e6466bd35a" "sifoprod.v3locity.com" "arn:aws:acm:us-east-1:734006704080:certificate/594d00d3-5b18-432d-ac17-01c1d7035c60" 0 2019-06-21T06:33:39.879000Z "forward" "-" "-"&lt;/P&gt;

&lt;P&gt;https 2019-06-21T06:33:39.925751Z app/awseb-AWSEB-1JTW8WORB68BR/40c70a85fc395740 10.194.7.56:63077 10.194.8.31:443 0.000 0.047 0.000 200 200 882 42860 "POST &lt;A href="https://sifoprod.v3locity.com:443/api2/entitylabelservice"&gt;https://sifoprod.v3locity.com:443/api2/entitylabelservice&lt;/A&gt; HTTP/1.1" "Mozilla/5.0 (Windows NT 6.2; WOW64; Trident/7.0; rv:11.0) like Gecko" ECDHE-RSA-AES128-GCM-SHA256 TLSv1.2 arn:aws:elasticloadbalancing:us-east-1:734006704080:targetgroup/awseb-https-Q1QV9SXV1CT0/67aabd91e38ca297 "Root=1-5d0c7a43-c36c2339f70f2d93f1c3ac93" "sifoprod.v3locity.com" "session-reused" 0 2019-06-21T06:33:39.876000Z "forward" "-" "-"&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jun 2019 06:48:09 GMT</pubDate>
    <dc:creator>kp5116</dc:creator>
    <dc:date>2019-06-21T06:48:09Z</dc:date>
    <item>
      <title>How to calculate HTTP throughput in GB and average HTTP throughput in KBits/Sec?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-HTTP-throughput-in-GB-and-average-HTTP/m-p/430172#M122996</link>
      <description>&lt;P&gt;How do you calculate  HTTP Throughput in GB and Average HTTP Throughput in KBits/Sec?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 12:41:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-HTTP-throughput-in-GB-and-average-HTTP/m-p/430172#M122996</guid>
      <dc:creator>kp5116</dc:creator>
      <dc:date>2019-06-20T12:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate HTTP throughput in GB and average HTTP throughput in KBits/Sec?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-HTTP-throughput-in-GB-and-average-HTTP/m-p/430173#M122997</link>
      <description>&lt;P&gt;can you share some sample events?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 17:31:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-HTTP-throughput-in-GB-and-average-HTTP/m-p/430173#M122997</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2019-06-20T17:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate HTTP throughput in GB and average HTTP throughput in KBits/Sec?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-HTTP-throughput-in-GB-and-average-HTTP/m-p/430174#M122998</link>
      <description>&lt;P&gt;Can you add more details?  What do the data events look like?  What fields are being extracted?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 18:43:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-HTTP-throughput-in-GB-and-average-HTTP/m-p/430174#M122998</guid>
      <dc:creator>jnudell_2</dc:creator>
      <dc:date>2019-06-20T18:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate HTTP throughput in GB and average HTTP throughput in KBits/Sec?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-HTTP-throughput-in-GB-and-average-HTTP/m-p/430175#M122999</link>
      <description>&lt;P&gt;we are sending application load balancer access logs to splunk those are https requests .i want to calculate  those requests throughput in GB and kbps for 12 hours.&lt;/P&gt;

&lt;P&gt;https 2019-06-21T06:33:39.959419Z app/awseb-AWSEB-1JTW8WORB68BR/40c70a85fc395740 10.194.7.56:63076 10.194.8.31:443 0.000 0.080 0.000 200 200 582 6403 "GET &lt;A href="https://sifoprod.v3locity.com:443/api/pagecomponent/validGrids"&gt;https://sifoprod.v3locity.com:443/api/pagecomponent/validGrids&lt;/A&gt; HTTP/1.1" "Mozilla/5.0 (Windows NT 6.2; WOW64; Trident/7.0; rv:11.0) like Gecko" ECDHE-RSA-AES128-GCM-SHA256 TLSv1.2 arn:aws:elasticloadbalancing:us-east-1:734006704080:targetgroup/awseb-https-Q1QV9SXV1CT0/67aabd91e38ca297 "Root=1-5d0c7a43-210208c1db4fb6e6466bd35a" "sifoprod.v3locity.com" "arn:aws:acm:us-east-1:734006704080:certificate/594d00d3-5b18-432d-ac17-01c1d7035c60" 0 2019-06-21T06:33:39.879000Z "forward" "-" "-"&lt;/P&gt;

&lt;P&gt;https 2019-06-21T06:33:39.925751Z app/awseb-AWSEB-1JTW8WORB68BR/40c70a85fc395740 10.194.7.56:63077 10.194.8.31:443 0.000 0.047 0.000 200 200 882 42860 "POST &lt;A href="https://sifoprod.v3locity.com:443/api2/entitylabelservice"&gt;https://sifoprod.v3locity.com:443/api2/entitylabelservice&lt;/A&gt; HTTP/1.1" "Mozilla/5.0 (Windows NT 6.2; WOW64; Trident/7.0; rv:11.0) like Gecko" ECDHE-RSA-AES128-GCM-SHA256 TLSv1.2 arn:aws:elasticloadbalancing:us-east-1:734006704080:targetgroup/awseb-https-Q1QV9SXV1CT0/67aabd91e38ca297 "Root=1-5d0c7a43-c36c2339f70f2d93f1c3ac93" "sifoprod.v3locity.com" "session-reused" 0 2019-06-21T06:33:39.876000Z "forward" "-" "-"&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 06:48:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-HTTP-throughput-in-GB-and-average-HTTP/m-p/430175#M122999</guid>
      <dc:creator>kp5116</dc:creator>
      <dc:date>2019-06-21T06:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate HTTP throughput in GB and average HTTP throughput in KBits/Sec?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-HTTP-throughput-in-GB-and-average-HTTP/m-p/430176#M123000</link>
      <description>&lt;P&gt;very general question here ....&lt;BR /&gt;
lets assume you have the field: &lt;CODE&gt;throughput_kb&lt;/CODE&gt; and it has numerical values in it&lt;BR /&gt;
if you want to calculate GB you will divide by 1024/1024 like this:&lt;BR /&gt;
| eval throughput_gb = throughput_kb/1024/1024&lt;BR /&gt;
you can avg using &lt;CODE&gt;stats&lt;/CODE&gt; or &lt;CODE&gt;eventstats&lt;/CODE&gt; or other options like &lt;CODE&gt;chart&lt;/CODE&gt; and &lt;CODE&gt;timechart&lt;/CODE&gt; for example:&lt;BR /&gt;
try to run this search anywhere to create fake data, and use some functions to match your needs:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| gentimes start=-1 increment=20s
| eval _time = starttime 
| eval throughput_kb = 1000000 + random()%1000000
| eval throughput_gb = throughput_kb/1024/1024
| fields _time throughput*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;the above will create fake data with time and random values for throughput_kb&lt;BR /&gt;
now try something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| bin _time span=1m
| stats avg(throughput_kb) as avg_kb avg(throughput_gb) as avg_gb by _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;to get average per minute&lt;BR /&gt;
and add this:&lt;BR /&gt;
&lt;CODE&gt;| eval avg_kb_per_sec = round(avg_kb / 60, 3)&lt;/CODE&gt;&lt;BR /&gt;
to get average per second&lt;/P&gt;

&lt;P&gt;hope it helps&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:59:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-HTTP-throughput-in-GB-and-average-HTTP/m-p/430176#M123000</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2020-09-30T00:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate HTTP throughput in GB and average HTTP throughput in KBits/Sec?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-HTTP-throughput-in-GB-and-average-HTTP/m-p/430177#M123001</link>
      <description>&lt;P&gt;You have not identified the fields that are being extracted.  Which values in the samples above provide you with the throughput information?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 19:26:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-HTTP-throughput-in-GB-and-average-HTTP/m-p/430177#M123001</guid>
      <dc:creator>jnudell_2</dc:creator>
      <dc:date>2019-06-21T19:26:42Z</dc:date>
    </item>
  </channel>
</rss>

