<?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: Separate out results based on wildcard field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Separate-out-results-based-on-wildcard-field/m-p/367112#M169879</link>
    <description>&lt;P&gt;Thanks for the quick response!!!  This is close but I'm looking to sort on publishId=*U and *S....just the aggregate of those two.&lt;/P&gt;

&lt;P&gt;Currently:  I have multiple publishId's..&lt;BR /&gt;
publishId   tile  launches&lt;BR /&gt;
1d           Tile1       5&lt;BR /&gt;
2y            Tile2       8&lt;BR /&gt;
3r            Tile3      3&lt;BR /&gt;
4h            Tile4      1&lt;BR /&gt;
...etc&lt;/P&gt;

&lt;P&gt;Desired result:&lt;BR /&gt;
publishId   tile  launches&lt;BR /&gt;
S           Tile1       25&lt;BR /&gt;
             Tile2       58&lt;BR /&gt;
             Tile3      63&lt;BR /&gt;
             Tile4      81&lt;/P&gt;

&lt;P&gt;publishId   tile  launches&lt;BR /&gt;
U       Tile1       35&lt;BR /&gt;
          Tile2       98&lt;BR /&gt;
          Tile3       63&lt;BR /&gt;
           Tile4      21&lt;/P&gt;</description>
    <pubDate>Fri, 27 Apr 2018 21:26:41 GMT</pubDate>
    <dc:creator>dwong2</dc:creator>
    <dc:date>2018-04-27T21:26:41Z</dc:date>
    <item>
      <title>Separate out results based on wildcard field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Separate-out-results-based-on-wildcard-field/m-p/367110#M169877</link>
      <description>&lt;P&gt;...search&lt;BR /&gt;
| stats count(tile) as launches by tile publishId&lt;BR /&gt;
| sort  -"launches"&lt;/P&gt;

&lt;P&gt;accountExId: 12345678&lt;BR /&gt;&lt;BR /&gt;
  publishId: 63020U or 63020S&lt;BR /&gt;&lt;BR /&gt;
  tile: Tile1   &lt;/P&gt;

&lt;P&gt;How do I get results so that it will look similiar to this:&lt;/P&gt;

&lt;P&gt;publishId   tile    launches&lt;BR /&gt;
*S  Tile1   4&lt;BR /&gt;
    Tile2   6&lt;BR /&gt;
    Tile3   8&lt;/P&gt;

&lt;P&gt;publishId   tile    launches&lt;BR /&gt;
*U  Tile1   8&lt;BR /&gt;
    Tile2   1&lt;BR /&gt;
    Tile3   10&lt;/P&gt;</description>
      <pubDate>Fri, 27 Apr 2018 21:06:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Separate-out-results-based-on-wildcard-field/m-p/367110#M169877</guid>
      <dc:creator>dwong2</dc:creator>
      <dc:date>2018-04-27T21:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Separate out results based on wildcard field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Separate-out-results-based-on-wildcard-field/m-p/367111#M169878</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...search
| stats count(tile) as launches by tile publishId
| sort -"launches" by publishId
| stats list(tile) as tile list(launches) as launches by publishId
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 27 Apr 2018 21:14:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Separate-out-results-based-on-wildcard-field/m-p/367111#M169878</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-04-27T21:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Separate out results based on wildcard field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Separate-out-results-based-on-wildcard-field/m-p/367112#M169879</link>
      <description>&lt;P&gt;Thanks for the quick response!!!  This is close but I'm looking to sort on publishId=*U and *S....just the aggregate of those two.&lt;/P&gt;

&lt;P&gt;Currently:  I have multiple publishId's..&lt;BR /&gt;
publishId   tile  launches&lt;BR /&gt;
1d           Tile1       5&lt;BR /&gt;
2y            Tile2       8&lt;BR /&gt;
3r            Tile3      3&lt;BR /&gt;
4h            Tile4      1&lt;BR /&gt;
...etc&lt;/P&gt;

&lt;P&gt;Desired result:&lt;BR /&gt;
publishId   tile  launches&lt;BR /&gt;
S           Tile1       25&lt;BR /&gt;
             Tile2       58&lt;BR /&gt;
             Tile3      63&lt;BR /&gt;
             Tile4      81&lt;/P&gt;

&lt;P&gt;publishId   tile  launches&lt;BR /&gt;
U       Tile1       35&lt;BR /&gt;
          Tile2       98&lt;BR /&gt;
          Tile3       63&lt;BR /&gt;
           Tile4      21&lt;/P&gt;</description>
      <pubDate>Fri, 27 Apr 2018 21:26:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Separate-out-results-based-on-wildcard-field/m-p/367112#M169879</guid>
      <dc:creator>dwong2</dc:creator>
      <dc:date>2018-04-27T21:26:41Z</dc:date>
    </item>
  </channel>
</rss>

