<?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 group by the to= values, so I can count the number of times they repeat, create charts, and other metrics? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-group-by-the-to-values-so-I-can-count-the-number-of-times/m-p/627370#M218005</link>
    <description>&lt;P&gt;That helped! Thank you a lot!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jan 2023 16:13:45 GMT</pubDate>
    <dc:creator>Stephcg</dc:creator>
    <dc:date>2023-01-17T16:13:45Z</dc:date>
    <item>
      <title>How to group by the to= values, so I can count the number of times they repeat, create charts, and other metrics?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-group-by-the-to-values-so-I-can-count-the-number-of-times/m-p/626963#M217886</link>
      <description>&lt;P&gt;Hello!&lt;BR /&gt;I have many events, and I have a search that returns only the events that contain the &lt;STRONG&gt;to&amp;nbsp;&lt;/STRONG&gt;field.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index="my_index_qa"    sourcetype="example-qa" to=*&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The results are a list of events that have the following pattern:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;	
db271cf8678c -2023-01-12 15:08:32.157 [app=app-name, traceId=traceid-value, spanId=spanid-value,  INFO 1 [llEventLoop-5-5] filter.FilterBeingUsed   : c=class, m=method, method=GET, to=http://example.url.com/path/extra, route=https://example.url.com/redirect/route, headers={X-Forwarded-For=[IPADDRESS, IPADDRESS2], X-Forwarded-Proto=[http], X-Forwarded-Port=[80], Host=[EXAMPLE-HOST], app-device=[DEVICE-INFO], app-user=[devicce-info-os-info], app-os=[APP-OS-VERSION], user-agent=[user-agent-example], app-version=[app.version.example], Origin=[origin-app]}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to be able to group by the &lt;STRONG&gt;to=&amp;nbsp;&lt;/STRONG&gt;values, so I can count the number of times they repeat, create charts and do some other metrics.&lt;/P&gt;
&lt;P&gt;Is it possible? How can I do this?&lt;/P&gt;
&lt;P&gt;Thank you for any help in advance. And sorry if I wrote anything wrong, english is not my main language.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 19:29:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-group-by-the-to-values-so-I-can-count-the-number-of-times/m-p/626963#M217886</guid>
      <dc:creator>Stephcg</dc:creator>
      <dc:date>2023-01-12T19:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping by URLs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-group-by-the-to-values-so-I-can-count-the-number-of-times/m-p/626971#M217890</link>
      <description>&lt;P&gt;Have you tried this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="my_index_qa"    sourcetype="example-qa" to=*
| stats count by to&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any time you want to count something, use &lt;FONT face="courier new,courier"&gt;stats&lt;/FONT&gt; (or &lt;FONT face="courier new,courier"&gt;eventstats&lt;/FONT&gt; or &lt;FONT face="courier new,courier"&gt;streamstats&lt;/FONT&gt; or &lt;FONT face="courier new,courier"&gt;timechart&lt;/FONT&gt;) &lt;FONT face="courier new,courier"&gt;count&lt;/FONT&gt;.&amp;nbsp; Grouping by a field implies the &lt;FONT face="courier new,courier"&gt;by&lt;/FONT&gt; option.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 19:25:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-group-by-the-to-values-so-I-can-count-the-number-of-times/m-p/626971#M217890</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-01-12T19:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to group by the to= values, so I can count the number of times they repeat, create charts, and other metrics?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-group-by-the-to-values-so-I-can-count-the-number-of-times/m-p/627370#M218005</link>
      <description>&lt;P&gt;That helped! Thank you a lot!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 16:13:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-group-by-the-to-values-so-I-can-count-the-number-of-times/m-p/627370#M218005</guid>
      <dc:creator>Stephcg</dc:creator>
      <dc:date>2023-01-17T16:13:45Z</dc:date>
    </item>
  </channel>
</rss>

