<?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: Extract and count IDs from a table in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Extract-and-count-IDs-from-a-table/m-p/668246#M229242</link>
    <description>&lt;P&gt;I slightly changed the query, as I didn't want to use&amp;nbsp;&lt;STRONG&gt;search.&amp;nbsp;&lt;/STRONG&gt;Query ends up with the same results.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=your_index
| stats 
   values(SUBMITTED_FROM) AS SUBMITTED_FROM
   values(STAGE) AS STAGE
   BY SESSION_ID
| where SUBMITTED_FROM=startPage STAGE=submit
| stats count BY SESSION_ID&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Nov 2023 15:05:28 GMT</pubDate>
    <dc:creator>wkk</dc:creator>
    <dc:date>2023-11-10T15:05:28Z</dc:date>
    <item>
      <title>Extract and count IDs from a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extract-and-count-IDs-from-a-table/m-p/668225#M229237</link>
      <description>&lt;P&gt;Hi! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have a fallowing table:&lt;/P&gt;&lt;TABLE border="1" width="98.10486418193304%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;SESSION_ID&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;SUBMITTED_FROM&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;STAGE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;1&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;submit&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;1&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;startPage&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;someStage1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;2&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;submit&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;2&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;page1&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;someStage1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;2&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;page2&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;someStage2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;How could I count the number of&amp;nbsp;&lt;STRONG&gt;SESSION_IDs&lt;/STRONG&gt;&amp;nbsp;that has SUBMITTED_FROM=startPage and&amp;nbsp;STAGE=submit?&lt;STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;So looking at the above table the outcome of that logic should be &lt;STRONG&gt;2&amp;nbsp;&lt;/STRONG&gt;SESSION_IDs&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 10:57:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extract-and-count-IDs-from-a-table/m-p/668225#M229237</guid>
      <dc:creator>wkk</dc:creator>
      <dc:date>2023-11-10T10:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Extract and count IDs from a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extract-and-count-IDs-from-a-table/m-p/668227#M229238</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/262373"&gt;@wkk&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you could try something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=your_index
| stats 
   values(SUBMITTED_FROM) AS SUBMITTED_FROM
   values(STAGE) AS STAGE
   BY SESSION_ID
| mvexpand SUBMITTED_FROM
| mvexpand STAGE
| search SUBMITTED_FROM=startPage STAGE=submit
| stats count BY SESSION_ID&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 11:13:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extract-and-count-IDs-from-a-table/m-p/668227#M229238</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-11-10T11:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Extract and count IDs from a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extract-and-count-IDs-from-a-table/m-p/668245#M229241</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;thank you that solved my case&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 14:52:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extract-and-count-IDs-from-a-table/m-p/668245#M229241</guid>
      <dc:creator>wkk</dc:creator>
      <dc:date>2023-11-10T14:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Extract and count IDs from a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extract-and-count-IDs-from-a-table/m-p/668246#M229242</link>
      <description>&lt;P&gt;I slightly changed the query, as I didn't want to use&amp;nbsp;&lt;STRONG&gt;search.&amp;nbsp;&lt;/STRONG&gt;Query ends up with the same results.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=your_index
| stats 
   values(SUBMITTED_FROM) AS SUBMITTED_FROM
   values(STAGE) AS STAGE
   BY SESSION_ID
| where SUBMITTED_FROM=startPage STAGE=submit
| stats count BY SESSION_ID&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 15:05:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extract-and-count-IDs-from-a-table/m-p/668246#M229242</guid>
      <dc:creator>wkk</dc:creator>
      <dc:date>2023-11-10T15:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Extract and count IDs from a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extract-and-count-IDs-from-a-table/m-p/668250#M229243</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/262373"&gt;@wkk&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 15:59:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extract-and-count-IDs-from-a-table/m-p/668250#M229243</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-11-10T15:59:22Z</dc:date>
    </item>
  </channel>
</rss>

