<?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 gather user bandwidth for specify url? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/How-to-gather-user-bandwidth-for-specify-url/m-p/422990#M7467</link>
    <description>&lt;P&gt;@cmndata1 ,&lt;BR /&gt;
You might need to provide more details for us to help you better.&lt;BR /&gt;
What's the source of data ? What kind of events do you have now? Do you have the specified fields in your events?&lt;/P&gt;

&lt;P&gt;In general it would be &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;     index="your index" source="your firewall source" | stats sum(rcvdbyte) as rcvd,sum(sentbyte) as sent by url
     |eval bandwidth=rcvd + sent
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 07 Mar 2019 02:48:18 GMT</pubDate>
    <dc:creator>renjith_nair</dc:creator>
    <dc:date>2019-03-07T02:48:18Z</dc:date>
    <item>
      <title>How to gather user bandwidth for specify url?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-gather-user-bandwidth-for-specify-url/m-p/422989#M7466</link>
      <description>&lt;P&gt;Hi all, &lt;/P&gt;

&lt;P&gt;Thanks all for spending time to my case.&lt;/P&gt;

&lt;P&gt;I would like to list out a table to show the user web browsing log.&lt;BR /&gt;
For example, what url they will go when they are surfing splunk.com&lt;/P&gt;

&lt;P&gt;Table would like to be like that.&lt;/P&gt;

&lt;P&gt;Date | Time | User | hostname (this maybe splunk.com) | url | Total SentByte | Total Receive Byte (rcvdbyte)&lt;/P&gt;

&lt;P&gt;Do you guys has any idea?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 04:00:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-gather-user-bandwidth-for-specify-url/m-p/422989#M7466</guid>
      <dc:creator>cmndata1</dc:creator>
      <dc:date>2019-03-06T04:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to gather user bandwidth for specify url?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-gather-user-bandwidth-for-specify-url/m-p/422990#M7467</link>
      <description>&lt;P&gt;@cmndata1 ,&lt;BR /&gt;
You might need to provide more details for us to help you better.&lt;BR /&gt;
What's the source of data ? What kind of events do you have now? Do you have the specified fields in your events?&lt;/P&gt;

&lt;P&gt;In general it would be &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;     index="your index" source="your firewall source" | stats sum(rcvdbyte) as rcvd,sum(sentbyte) as sent by url
     |eval bandwidth=rcvd + sent
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Mar 2019 02:48:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-gather-user-bandwidth-for-specify-url/m-p/422990#M7467</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2019-03-07T02:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to gather user bandwidth for specify url?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-gather-user-bandwidth-for-specify-url/m-p/422991#M7468</link>
      <description>&lt;P&gt;@renjith.nair &lt;BR /&gt;
Thank you so much.&lt;BR /&gt;
I would like to give you some fields that is useful.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Date (e.g Mar  7)&lt;/LI&gt;
&lt;LI&gt;Time (e.g 14:00:00)&lt;/LI&gt;
&lt;LI&gt;User (e.g Tom_Chan)&lt;/LI&gt;
&lt;LI&gt;hostname (e.g &lt;A href="http://www.google.com"&gt;www.google.com&lt;/A&gt;)&lt;/LI&gt;
&lt;LI&gt;url &lt;/LI&gt;
&lt;LI&gt;sentbyte (could it transform to MB?)&lt;/LI&gt;
&lt;LI&gt;rcvdbyte (could it transform to MB?)&lt;/LI&gt;
&lt;LI&gt;srcip(user source IP)&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;index would be fgt_utm&lt;BR /&gt;
The firewall is sending log to splunk.&lt;BR /&gt;
For ideal case, i would like to list out how many bandwidth did the user spend on each url.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 08:32:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-gather-user-bandwidth-for-specify-url/m-p/422991#M7468</guid>
      <dc:creator>cmndata1</dc:creator>
      <dc:date>2019-03-07T08:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to gather user bandwidth for specify url?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-gather-user-bandwidth-for-specify-url/m-p/422992#M7469</link>
      <description>&lt;P&gt;Probably you can start with below and lets know what changes you need. If you may added additional group by clause (Date,srcip etc)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=fgt_utm "your other filters for sourcetype"
|eval bandwidthMb=((sentByte/1000000)+(rcvdbyte /1000000))
|stats sum(bandwidthMb) as BandwidthUsed by User,url,host
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Mar 2019 09:40:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-gather-user-bandwidth-for-specify-url/m-p/422992#M7469</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2019-03-07T09:40:50Z</dc:date>
    </item>
  </channel>
</rss>

