<?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 find most popular field over time ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-find-most-popular-field-over-time/m-p/446843#M170568</link>
    <description>&lt;P&gt;Hi @tariqazeem123&lt;BR /&gt;
You would like to use the top command for this - &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=main sourcetype=app| top limit=0 program_name 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let me know if there is more to your query. Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jul 2019 06:30:12 GMT</pubDate>
    <dc:creator>amitm05</dc:creator>
    <dc:date>2019-07-02T06:30:12Z</dc:date>
    <item>
      <title>how to find most popular field over time ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-find-most-popular-field-over-time/m-p/446842#M170567</link>
      <description>&lt;P&gt;i have data in default index "main" and has sourcetype "app" and field like program_name.&lt;/P&gt;

&lt;P&gt;i want to find most popular programmes over time. can anybody please help me with this ?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 04:24:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-find-most-popular-field-over-time/m-p/446842#M170567</guid>
      <dc:creator>tariqazeem123</dc:creator>
      <dc:date>2019-07-02T04:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to find most popular field over time ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-find-most-popular-field-over-time/m-p/446843#M170568</link>
      <description>&lt;P&gt;Hi @tariqazeem123&lt;BR /&gt;
You would like to use the top command for this - &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=main sourcetype=app| top limit=0 program_name 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let me know if there is more to your query. Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 06:30:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-find-most-popular-field-over-time/m-p/446843#M170568</guid>
      <dc:creator>amitm05</dc:creator>
      <dc:date>2019-07-02T06:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to find most popular field over time ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-find-most-popular-field-over-time/m-p/446844#M170569</link>
      <description>&lt;P&gt;Hi @tariqazeem123 ,&lt;/P&gt;

&lt;P&gt;There are 2 ways:&lt;BR /&gt;
1. You can run your command and use sort command&lt;BR /&gt;
index=main sourcetype=app | sort program_name by _time&lt;/P&gt;

&lt;P&gt;2.You can use top command and you can limit it to no. of events you want&lt;BR /&gt;&lt;BR /&gt;
    index=main sourcetype=app | top limit=0 program_name&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 08:26:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-find-most-popular-field-over-time/m-p/446844#M170569</guid>
      <dc:creator>snigdhasaxena</dc:creator>
      <dc:date>2019-07-02T08:26:30Z</dc:date>
    </item>
  </channel>
</rss>

