<?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: Top Command not Returning Results in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Top-Command-not-Returning-Results/m-p/576243#M200831</link>
    <description>&lt;P&gt;So do you want to show only the ip (as columns) which have top 10 total count of errors (across all servers)?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Nov 2021 20:17:57 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2021-11-24T20:17:57Z</dc:date>
    <item>
      <title>Top Command not Returning Results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Top-Command-not-Returning-Results/m-p/576233#M200822</link>
      <description>&lt;P&gt;I am using a chart command to get a list of IP's and servers with an error. I am attempting to only get the top 10 results. For some reason when I do the top for IP I do not get results but if I do it for server I get results.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=foo result=error
| chart count by server, ip
| top limit=10 ip&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 19:21:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Top-Command-not-Returning-Results/m-p/576233#M200822</guid>
      <dc:creator>SMM10</dc:creator>
      <dc:date>2021-11-24T19:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Top Command not Returning Results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Top-Command-not-Returning-Results/m-p/576237#M200825</link>
      <description>&lt;P&gt;Once you run your chart command, you get one column for server and a column each for different ips in your result (column name will the value of ip), but there is no field called "ip" hence your top command fails. (it works for field server as it exists.&lt;/P&gt;&lt;P&gt;Assuming you want to get top 'ip' based on count, try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=foo result=error
| top limit=10 ip&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 24 Nov 2021 19:39:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Top-Command-not-Returning-Results/m-p/576237#M200825</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2021-11-24T19:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: Top Command not Returning Results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Top-Command-not-Returning-Results/m-p/576240#M200828</link>
      <description>&lt;P&gt;Doing that though loses the chart formatting that I wanted. IP's as the columns with servers as the rows. I would like to keep the chart formatting.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 20:01:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Top-Command-not-Returning-Results/m-p/576240#M200828</guid>
      <dc:creator>SMM10</dc:creator>
      <dc:date>2021-11-24T20:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Top Command not Returning Results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Top-Command-not-Returning-Results/m-p/576243#M200831</link>
      <description>&lt;P&gt;So do you want to show only the ip (as columns) which have top 10 total count of errors (across all servers)?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 20:17:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Top-Command-not-Returning-Results/m-p/576243#M200831</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2021-11-24T20:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Top Command not Returning Results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Top-Command-not-Returning-Results/m-p/576436#M200884</link>
      <description>&lt;P&gt;Yes so the two rows should be&amp;nbsp; servers and the columns should be the individual IP. For context this is from one of the learning labs so I believe I need to use chart and cant bypass it. I find it more strange that i can get the server name to show; though its only two values but the IP doesn't.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 14:19:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Top-Command-not-Returning-Results/m-p/576436#M200884</guid>
      <dc:creator>SMM10</dc:creator>
      <dc:date>2021-11-26T14:19:10Z</dc:date>
    </item>
  </channel>
</rss>

