<?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 Use transforming command on all events in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Use-transforming-command-on-all-events/m-p/305665#M91741</link>
    <description>&lt;P&gt;In Searching, it looks like it is not possible to use a transforming command directly. For example, I would like find the most common &lt;CODE&gt;host&lt;/CODE&gt; values across &lt;EM&gt;all&lt;/EM&gt; events, so I do&lt;BR /&gt;
&lt;CODE&gt;top host&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;But this is not a valid query. &lt;/P&gt;

&lt;P&gt;Would I really have to do&lt;BR /&gt;
&lt;CODE&gt;* | top host&lt;/CODE&gt;&lt;BR /&gt;
Is this the preferred way to do what I want?&lt;/P&gt;</description>
    <pubDate>Fri, 23 Feb 2018 01:03:28 GMT</pubDate>
    <dc:creator>flow2k</dc:creator>
    <dc:date>2018-02-23T01:03:28Z</dc:date>
    <item>
      <title>Use transforming command on all events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Use-transforming-command-on-all-events/m-p/305665#M91741</link>
      <description>&lt;P&gt;In Searching, it looks like it is not possible to use a transforming command directly. For example, I would like find the most common &lt;CODE&gt;host&lt;/CODE&gt; values across &lt;EM&gt;all&lt;/EM&gt; events, so I do&lt;BR /&gt;
&lt;CODE&gt;top host&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;But this is not a valid query. &lt;/P&gt;

&lt;P&gt;Would I really have to do&lt;BR /&gt;
&lt;CODE&gt;* | top host&lt;/CODE&gt;&lt;BR /&gt;
Is this the preferred way to do what I want?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 01:03:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Use-transforming-command-on-all-events/m-p/305665#M91741</guid>
      <dc:creator>flow2k</dc:creator>
      <dc:date>2018-02-23T01:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Use transforming command on all events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Use-transforming-command-on-all-events/m-p/305666#M91742</link>
      <description>&lt;P&gt;Hey you can try something like this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* | top host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The above query will be much slower if you want to get results faster then you can try &lt;CODE&gt;tstats&lt;/CODE&gt; command.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats count where index=* by host | sort- count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 03:21:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Use-transforming-command-on-all-events/m-p/305666#M91742</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-02-23T03:21:35Z</dc:date>
    </item>
  </channel>
</rss>

