<?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: filldown by clause? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/filldown-by-clause/m-p/33792#M178313</link>
    <description>&lt;P&gt;Streamstats can do that:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | reverse | streamstats last(account-level) as account-level by account-name | reverse | ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This would assign 2 to the first special event and 3 to the second and third special event. Without the reversing it would assign 3 to the first special event and 4 to the second and third special event.&lt;/P&gt;

&lt;P&gt;Maybe there's a more efficient way than my crude double-reverse, but off the top of my head that's the easiest way of making streamstats work in reverse.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Nov 2012 12:46:12 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2012-11-14T12:46:12Z</dc:date>
    <item>
      <title>filldown by clause?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/filldown-by-clause/m-p/33791#M178312</link>
      <description>&lt;P&gt;i have events for player accounts, which have player-levels, and have additional events for these accounts, which dont have the field player_level, looks e.g like this&lt;BR /&gt;&lt;/P&gt;

&lt;P&gt;GENERAL-EVENT [ account-name=xxx account-level=1] &lt;BR /&gt;&lt;BR /&gt;
GENERAL-EVENT [ account-name=xxx account-level=2] &lt;BR /&gt;&lt;BR /&gt;
SPECIAL-EVENT [ account-name=xxx other-field=xxx] &lt;BR /&gt;&lt;BR /&gt;
GENERAL-EVENT [ account-name=xxx account-level=3] &lt;BR /&gt;&lt;BR /&gt;
SPECIAL-EVENT [ account-name=xxx other-field=xxx] &lt;BR /&gt;&lt;BR /&gt;
SPECIAL-EVENT [ account-name=xxx other-field=xxx] &lt;BR /&gt;&lt;BR /&gt;
GENERAL-EVENT [ account-name=xxx account-level=4] &lt;BR /&gt;&lt;/P&gt;

&lt;P&gt;and i want to give the SPECIAL-EVENTS the field account-level at which this special-thing has "happened".&lt;BR /&gt;
&lt;BR /&gt; so i found   &lt;BR /&gt; | filldown account-level&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
which works well as long i do a search only over one account-name, but when i want to do searches over all accounts there is nothing like&lt;BR /&gt;&lt;BR /&gt;
| filldown account-level by account-name&lt;BR /&gt;
&lt;BR /&gt; is there any work-around?????&lt;BR /&gt;&lt;BR /&gt;
i'm using 4.3.3&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;
edit: i tried variants with streamstats, but somehow when i use it for a bigger timeframe with many data, it dowsnt work the right way, cuz at some account-levels the level-sum contains 0 special-events, but where i know, that there are some, when i use the search for a specific account.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2012 11:47:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/filldown-by-clause/m-p/33791#M178312</guid>
      <dc:creator>p_splunk</dc:creator>
      <dc:date>2012-11-14T11:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: filldown by clause?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/filldown-by-clause/m-p/33792#M178313</link>
      <description>&lt;P&gt;Streamstats can do that:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | reverse | streamstats last(account-level) as account-level by account-name | reverse | ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This would assign 2 to the first special event and 3 to the second and third special event. Without the reversing it would assign 3 to the first special event and 4 to the second and third special event.&lt;/P&gt;

&lt;P&gt;Maybe there's a more efficient way than my crude double-reverse, but off the top of my head that's the easiest way of making streamstats work in reverse.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2012 12:46:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/filldown-by-clause/m-p/33792#M178313</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2012-11-14T12:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: filldown by clause?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/filldown-by-clause/m-p/33793#M178314</link>
      <description>&lt;P&gt;yes i know this usage (im actually often using | sort 0 +_time  ... wonder which one is the "faster") &lt;BR /&gt;&lt;BR /&gt;
but the problem is somehow that with big data something stops working, i could imagine of something like maxout or smth, but i cant find any error message in the inspection (any of u have another hint what can be the reason?).&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2012 15:17:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/filldown-by-clause/m-p/33793#M178314</guid>
      <dc:creator>p_splunk</dc:creator>
      <dc:date>2012-11-14T15:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: filldown by clause?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/filldown-by-clause/m-p/33794#M178315</link>
      <description>&lt;P&gt;again: any of u have another hint what can be the reason?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2012 10:34:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/filldown-by-clause/m-p/33794#M178315</guid>
      <dc:creator>p_splunk</dc:creator>
      <dc:date>2012-11-15T10:34:39Z</dc:date>
    </item>
  </channel>
</rss>

