<?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 to make a table containing columns with non-empty values (or other criteria) from non-indexed data? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-table-containing-columns-with-non-empty-values-or/m-p/188710#M54374</link>
    <description>&lt;P&gt;Nice one!!&lt;/P&gt;</description>
    <pubDate>Wed, 29 Oct 2014 20:58:11 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2014-10-29T20:58:11Z</dc:date>
    <item>
      <title>How to make a table containing columns with non-empty values (or other criteria) from non-indexed data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-table-containing-columns-with-non-empty-values-or/m-p/188707#M54371</link>
      <description>&lt;P&gt;I'm doing this REST call to query the system for modular inputs:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/data/modular-inputs | table title description
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Before running this through the table command, the output was extremely wide because of the way this particular data has fields broken out. My ideal end goal is something like "make me a table of arbitrary REST command output but only include fields which are in &lt;EM&gt;every&lt;/EM&gt; event".  I started thinking how to do this with the metadata command when I realized that there is no index metadata to query as this data isn't indexed. Now, I'm out of ideas. TIA&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2014 20:00:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-table-containing-columns-with-non-empty-values-or/m-p/188707#M54371</guid>
      <dc:creator>halr9000</dc:creator>
      <dc:date>2014-10-29T20:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a table containing columns with non-empty values (or other criteria) from non-indexed data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-table-containing-columns-with-non-empty-values-or/m-p/188708#M54372</link>
      <description>&lt;P&gt;Mildly hacky, but it works:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/data/modular-inputs | fillnull value="§%&amp;amp;$&amp;amp;ZH$%%" | untable id field value | eventstats count(eval(isnull(value) OR trim(value)="" OR value="§%&amp;amp;$&amp;amp;ZH$%%")) as nulls by field | where nulls=0 | xyseries id field value
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Oct 2014 20:40:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-table-containing-columns-with-non-empty-values-or/m-p/188708#M54372</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-10-29T20:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a table containing columns with non-empty values (or other criteria) from non-indexed data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-table-containing-columns-with-non-empty-values-or/m-p/188709#M54373</link>
      <description>&lt;P&gt;One more workaround&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/data/modular-inputs  | table [| rest /services/data/modular-inputs | fieldsummary  maxvals=1| eventstats max(count) as max | where count=max | table field | eval field=field."," | mvcombine field | nomv field | rename field as search]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Oct 2014 20:57:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-table-containing-columns-with-non-empty-values-or/m-p/188709#M54373</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-10-29T20:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a table containing columns with non-empty values (or other criteria) from non-indexed data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-table-containing-columns-with-non-empty-values-or/m-p/188710#M54374</link>
      <description>&lt;P&gt;Nice one!!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2014 20:58:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-table-containing-columns-with-non-empty-values-or/m-p/188710#M54374</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-10-29T20:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a table containing columns with non-empty values (or other criteria) from non-indexed data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-table-containing-columns-with-non-empty-values-or/m-p/188711#M54375</link>
      <description>&lt;P&gt;Not sure which to pick! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2014 21:23:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-table-containing-columns-with-non-empty-values-or/m-p/188711#M54375</guid>
      <dc:creator>halr9000</dc:creator>
      <dc:date>2014-10-29T21:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a table containing columns with non-empty values (or other criteria) from non-indexed data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-table-containing-columns-with-non-empty-values-or/m-p/188712#M54376</link>
      <description>&lt;P&gt;The one that doesn't need to cheat with a subsearch of course &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2014 21:38:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-table-containing-columns-with-non-empty-values-or/m-p/188712#M54376</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-10-29T21:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a table containing columns with non-empty values (or other criteria) from non-indexed data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-table-containing-columns-with-non-empty-values-or/m-p/188713#M54377</link>
      <description>&lt;P&gt;I like this version. It comes out close to 50% faster in my slightly-scientific tests. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2014 21:08:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-table-containing-columns-with-non-empty-values-or/m-p/188713#M54377</guid>
      <dc:creator>halr9000</dc:creator>
      <dc:date>2014-10-30T21:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a table containing columns with non-empty values (or other criteria) from non-indexed data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-table-containing-columns-with-non-empty-values-or/m-p/188714#M54378</link>
      <description>&lt;P&gt;I gave ya points. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2014 21:09:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-table-containing-columns-with-non-empty-values-or/m-p/188714#M54378</guid>
      <dc:creator>halr9000</dc:creator>
      <dc:date>2014-10-30T21:09:35Z</dc:date>
    </item>
  </channel>
</rss>

