<?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: I need to track the progress of students over time in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/I-need-to-track-the-progress-of-students-over-time/m-p/129207#M184490</link>
    <description>&lt;P&gt;Fixed; thank you.&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jul 2015 02:47:58 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-07-20T02:47:58Z</dc:date>
    <item>
      <title>I need to track the progress of students over time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-need-to-track-the-progress-of-students-over-time/m-p/129204#M184487</link>
      <description>&lt;P&gt;Our event lists the answer to one question on a test.&lt;BR /&gt;
Our test numbers are unique to one set of test questions by one student at the time they took the test.&lt;BR /&gt;
I can handle grading the tests using eval(grade_function) by test_number (e.g. grade=B)&lt;BR /&gt;
Students can take the test at any time and retake the test as many times as they want or only take the test once.&lt;BR /&gt;
I want to track the student's progress every month.&lt;/P&gt;

&lt;P&gt;Thus for every student, I want to get their last test results before each months end and plot the number of students who achieved each grade.  Note the last test result for a student may appear many months before the current month end.&lt;BR /&gt;
This should look like a bar or  line graph and each X axis value is a month and each bar at an X value represents a count of the number of "A", "B", "C", and "D" grades.&lt;/P&gt;

&lt;P&gt;The first part I think I can handle by processing the list of events by test number and generating statistics as a table.&lt;BR /&gt;
Once I have done this, I have no "test" events (only lines in a table) to order or search by or sum up results.&lt;BR /&gt;
I don't know if there is a way to turn a table into a series of events.&lt;BR /&gt;
I also realize I may be very far off the way to use Splunk to process the data.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 06:44:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-need-to-track-the-progress-of-students-over-time/m-p/129204#M184487</guid>
      <dc:creator>wwf</dc:creator>
      <dc:date>2020-09-29T06:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: I need to track the progress of students over time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-need-to-track-the-progress-of-students-over-time/m-p/129205#M184488</link>
      <description>&lt;P&gt;Do it like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | bucket _time span=1mon | stats latest(grade) AS grade BY student test_number _time | timechart span=1mon count by grade
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 19 Jul 2015 05:36:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-need-to-track-the-progress-of-students-over-time/m-p/129205#M184488</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-07-19T05:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: I need to track the progress of students over time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-need-to-track-the-progress-of-students-over-time/m-p/129206#M184489</link>
      <description>&lt;P&gt;This might start working once you replace &lt;CODE&gt;span=1m&lt;/CODE&gt; with &lt;CODE&gt;span=1mon&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Jul 2015 11:04:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-need-to-track-the-progress-of-students-over-time/m-p/129206#M184489</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-07-19T11:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: I need to track the progress of students over time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-need-to-track-the-progress-of-students-over-time/m-p/129207#M184490</link>
      <description>&lt;P&gt;Fixed; thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2015 02:47:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-need-to-track-the-progress-of-students-over-time/m-p/129207#M184490</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-07-20T02:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: I need to track the progress of students over time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-need-to-track-the-progress-of-students-over-time/m-p/129208#M184491</link>
      <description>&lt;P&gt;It's still bucketing by minutes.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2015 22:53:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-need-to-track-the-progress-of-students-over-time/m-p/129208#M184491</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-07-20T22:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: I need to track the progress of students over time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-need-to-track-the-progress-of-students-over-time/m-p/129209#M184492</link>
      <description>&lt;P&gt;Got it again.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2015 23:16:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-need-to-track-the-progress-of-students-over-time/m-p/129209#M184492</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-07-20T23:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: I need to track the progress of students over time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-need-to-track-the-progress-of-students-over-time/m-p/129210#M184493</link>
      <description>&lt;P&gt;The suggestion almost works.&lt;BR /&gt;
The bad results occur when a student has not written a test within a month but wrote a test more than a month ago.&lt;BR /&gt;
The student's grades carried over from the earlier months do not count for the grades in the latest month.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2015 22:34:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-need-to-track-the-progress-of-students-over-time/m-p/129210#M184493</guid>
      <dc:creator>wwf</dc:creator>
      <dc:date>2015-07-22T22:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: I need to track the progress of students over time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-need-to-track-the-progress-of-students-over-time/m-p/129211#M184494</link>
      <description>&lt;P&gt;Given your "all time" clarification, try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...  | eventstats latest(_time) AS lastTestTime BY student test_number | eval Grade=if(_time=lastTestTime ), grade, null()) | bucket _time span=1mon | stats latest(Grade) AS Grade BY student test_number _time | timechart span=1mon count by Grade
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This assumes that the most recent grade for every student+test_number is the only one counted and that it is only counted in the month that the latest grade occurred (all previous grades for this student+test_number pairings are ignored).&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 06:48:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-need-to-track-the-progress-of-students-over-time/m-p/129211#M184494</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-09-29T06:48:00Z</dc:date>
    </item>
  </channel>
</rss>

