<?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 do I write a search to create a cohort-like table view? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-write-a-search-to-create-a-cohort-like-table-view/m-p/165644#M47085</link>
    <description>&lt;P&gt;That is not what i need. As you can see in example:&lt;BR /&gt;
Jan - number of started user minus number of unsubscribed to get total number&lt;BR /&gt;
Feb - of those who started in Jan get number who continued and minus number who unsubscribed... and like that to other march, april...&lt;BR /&gt;
Feb - also start from beginning - number of registered in Feb minus number of unsubscribed......&lt;/P&gt;

&lt;P&gt;Contingency builds a contingency table for two fields - i need on both axis time and to show sum of some counter in the middle.&lt;/P&gt;

&lt;P&gt;In short i was hoping for command that will take one defined group of data and show me movements of that group over time - but for every month as start point in my time range.&lt;/P&gt;

&lt;P&gt;Something like: &lt;A href="http://www.r-bloggers.com/cohort-analysis-with-r-retention-charts/"&gt;http://www.r-bloggers.com/cohort-analysis-with-r-retention-charts/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Aug 2015 07:23:56 GMT</pubDate>
    <dc:creator>jbranislav</dc:creator>
    <dc:date>2015-08-17T07:23:56Z</dc:date>
    <item>
      <title>How do I write a search to create a cohort-like table view?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-write-a-search-to-create-a-cohort-like-table-view/m-p/165640#M47081</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm trying to create cohort "like" table view. Cohort "like" because I have two searches that I want to execute:&lt;BR /&gt;
1. get me all new users in specific time frame (with one variant in summing them up)&lt;BR /&gt;
2. get me from those users how many time they did appear again in next months (with another variant of summing them up)&lt;/P&gt;

&lt;P&gt;I did manage to get all data with one subsearch, but I can't plot it on table or any graph. Simple join would not work since it will overwrite eval data and I need eval data in the subsearch to actually get a number that I want to show. What I need is to show data as:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;      jan  feb  mar  aprl
jan    10   8    4    2
feb        10    6    4
mar             10    5
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or the other way around. Since I have all data in my events, I don't know how to display data in this fashion for multiple months, but I can do it for one month only.&lt;/P&gt;

&lt;P&gt;I also have date in accelerated data model but i could not think any thing with that also. Since Splunk have a lot's of statistical command, is there any simple solution for cohort or i need to do lot's of subsearches?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2015 11:41:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-write-a-search-to-create-a-cohort-like-table-view/m-p/165640#M47081</guid>
      <dc:creator>jbranislav</dc:creator>
      <dc:date>2015-08-11T11:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I write a search to create a cohort-like table view?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-write-a-search-to-create-a-cohort-like-table-view/m-p/165641#M47082</link>
      <description>&lt;P&gt;If you can do it for one month then you should be able to overlap adjacent months using  the &lt;CODE&gt;Timewrap&lt;/CODE&gt; app:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/1645/"&gt;https://splunkbase.splunk.com/app/1645/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2015 21:36:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-write-a-search-to-create-a-cohort-like-table-view/m-p/165641#M47082</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-08-11T21:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I write a search to create a cohort-like table view?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-write-a-search-to-create-a-cohort-like-table-view/m-p/165642#M47083</link>
      <description>&lt;P&gt;Will not work. I need users in one month (with specific evals and calculations) then go trough months with those users with other calculations.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2015 06:19:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-write-a-search-to-create-a-cohort-like-table-view/m-p/165642#M47083</guid>
      <dc:creator>jbranislav</dc:creator>
      <dc:date>2015-08-12T06:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do I write a search to create a cohort-like table view?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-write-a-search-to-create-a-cohort-like-table-view/m-p/165643#M47084</link>
      <description>&lt;P&gt;I think maybe you need the &lt;CODE&gt;contingency&lt;/CODE&gt; command:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.5/SearchReference/contingency"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.5/SearchReference/contingency&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Aug 2015 03:01:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-write-a-search-to-create-a-cohort-like-table-view/m-p/165643#M47084</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-08-15T03:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I write a search to create a cohort-like table view?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-write-a-search-to-create-a-cohort-like-table-view/m-p/165644#M47085</link>
      <description>&lt;P&gt;That is not what i need. As you can see in example:&lt;BR /&gt;
Jan - number of started user minus number of unsubscribed to get total number&lt;BR /&gt;
Feb - of those who started in Jan get number who continued and minus number who unsubscribed... and like that to other march, april...&lt;BR /&gt;
Feb - also start from beginning - number of registered in Feb minus number of unsubscribed......&lt;/P&gt;

&lt;P&gt;Contingency builds a contingency table for two fields - i need on both axis time and to show sum of some counter in the middle.&lt;/P&gt;

&lt;P&gt;In short i was hoping for command that will take one defined group of data and show me movements of that group over time - but for every month as start point in my time range.&lt;/P&gt;

&lt;P&gt;Something like: &lt;A href="http://www.r-bloggers.com/cohort-analysis-with-r-retention-charts/"&gt;http://www.r-bloggers.com/cohort-analysis-with-r-retention-charts/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2015 07:23:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-write-a-search-to-create-a-cohort-like-table-view/m-p/165644#M47085</guid>
      <dc:creator>jbranislav</dc:creator>
      <dc:date>2015-08-17T07:23:56Z</dc:date>
    </item>
  </channel>
</rss>

