<?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 Creating Bar Chart for SSH logs in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Creating-Bar-Chart-for-SSH-logs/m-p/257351#M77072</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;

&lt;P&gt;We are trying to create a bar chart from secure log. The ultimate goal is to plot the accounts (top 10) used to login to maximum number of servers with count. i.e. the accounts which were used to log into multiple servers. From basic query we were are getting an output as shown below,&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/1581i1F908B41CF66FE42/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;We are planning to plot server details (pup-ofc-mar-hjn-a) on X - Axis and users on Y - Axix. Could you please let us know how can we achieve this? &lt;/P&gt;</description>
    <pubDate>Tue, 12 Jul 2016 05:41:23 GMT</pubDate>
    <dc:creator>akashjohn</dc:creator>
    <dc:date>2016-07-12T05:41:23Z</dc:date>
    <item>
      <title>Creating Bar Chart for SSH logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-Bar-Chart-for-SSH-logs/m-p/257351#M77072</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;

&lt;P&gt;We are trying to create a bar chart from secure log. The ultimate goal is to plot the accounts (top 10) used to login to maximum number of servers with count. i.e. the accounts which were used to log into multiple servers. From basic query we were are getting an output as shown below,&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/1581i1F908B41CF66FE42/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;We are planning to plot server details (pup-ofc-mar-hjn-a) on X - Axis and users on Y - Axix. Could you please let us know how can we achieve this? &lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 05:41:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-Bar-Chart-for-SSH-logs/m-p/257351#M77072</guid>
      <dc:creator>akashjohn</dc:creator>
      <dc:date>2016-07-12T05:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Bar Chart for SSH logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-Bar-Chart-for-SSH-logs/m-p/257352#M77073</link>
      <description>&lt;P&gt;I think that you already loaded logs in an index (e.g.: secure_logs) and extracted the requested fields (user, account, etc...).&lt;BR /&gt;
Than you have to write a search as the following&lt;BR /&gt;
index=secure_logs | top users&lt;BR /&gt;
or&lt;BR /&gt;
index=secure_logs | stats dc(host) by users | head 10&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:11:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-Bar-Chart-for-SSH-logs/m-p/257352#M77073</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-09-29T10:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Bar Chart for SSH logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-Bar-Chart-for-SSH-logs/m-p/257353#M77074</link>
      <description>&lt;P&gt;Hi Giuseppe,&lt;/P&gt;

&lt;P&gt;Thanks for the response. we can fetch the data with the quires, but here the requirement is to  &lt;STRONG&gt;plot the accounts (top 10) used to login to maximum number of servers with count. i.e. the accounts which were used to log into multiple servers.&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;That means we need to fetch the users which are login to multiple servers and need to find the count of servers. The query which you have mentioned is not seems to be working in this case.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 07:13:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-Bar-Chart-for-SSH-logs/m-p/257353#M77074</guid>
      <dc:creator>akashjohn</dc:creator>
      <dc:date>2016-07-12T07:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Bar Chart for SSH logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-Bar-Chart-for-SSH-logs/m-p/257354#M77075</link>
      <description>&lt;P&gt;with this search you have the number of distict server accessed by each user.&lt;/P&gt;

&lt;P&gt;Sorry I forgot to insert sort!&lt;BR /&gt;
index=secure_logs | stats dc(host) AS hosts by users | sort -hosts | head 10&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 07:23:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-Bar-Chart-for-SSH-logs/m-p/257354#M77075</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2016-07-12T07:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Bar Chart for SSH logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-Bar-Chart-for-SSH-logs/m-p/257355#M77076</link>
      <description>&lt;P&gt;Thanks Giuseppe, it seems to be working for me. &lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 09:14:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-Bar-Chart-for-SSH-logs/m-p/257355#M77076</guid>
      <dc:creator>akashjohn</dc:creator>
      <dc:date>2016-07-12T09:14:13Z</dc:date>
    </item>
  </channel>
</rss>

