<?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 view my VulnerabilityTitle count deltas over time with ranking in Splunk Enterprise Security</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-view-my-VulnerabilityTitle-count-deltas-over-time-with/m-p/486592#M8028</link>
    <description>&lt;P&gt;what's &lt;CODE&gt;x-axis&lt;/CODE&gt; and &lt;CODE&gt;y-axis&lt;/CODE&gt; ?&lt;/P&gt;

&lt;P&gt;maybe:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...
| fields - Count
| xyseries import_timeday, VulnerabilityTitle, tops
| sort 0 import_timeday
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Viz &amp;gt;&amp;gt; Line Chart&lt;/P&gt;</description>
    <pubDate>Tue, 05 May 2020 17:17:46 GMT</pubDate>
    <dc:creator>to4kawa</dc:creator>
    <dc:date>2020-05-05T17:17:46Z</dc:date>
    <item>
      <title>How to view my VulnerabilityTitle count deltas over time with ranking</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-view-my-VulnerabilityTitle-count-deltas-over-time-with/m-p/486587#M8023</link>
      <description>&lt;P&gt;Ok so bear with me as I explain. I would like to view my VulnerabilityTitle count deltas over time.&lt;/P&gt;
&lt;P&gt;So for instance, if I ran count by VulnerabilityTitle yesterday to get my top 10 most common vulnerabilities in my environment that is great. however, I need to be able to do that day after day using a time range. &lt;BR /&gt;So, for instance, my top most common VulnerabilityTitle may drop down to my second most common VulnerabilityTitle after patching over the weekend. &lt;BR /&gt;So my end goal is to be able to pick a time window and get VulnerabilityTitle counts Ranked for all the days in the time window I pick. That way I can see x vulnerability was rank 1 yesterday and is now rank 2 today.&lt;/P&gt;
&lt;P&gt;I am currently running this the search below which gives me most of what I want but it does not track the ranking over time. This ideally would not be only viewable in line graph format.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;| eval import_time=strftime(_time, "%Y-%m-%d:%H")
| eval import_timeday=strftime(_time, "%Y-%m-%d")
| eventstats latest(import_time) as Last by import_timeday
| where Last = import_time
| timechart span=1d count by VulnerabilityTitle where max in top10 useother=f
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 07 Jun 2020 16:29:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-view-my-VulnerabilityTitle-count-deltas-over-time-with/m-p/486587#M8023</guid>
      <dc:creator>jlovik</dc:creator>
      <dc:date>2020-06-07T16:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to view my VulnerabilityTitle count deltas over time with ranking</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-view-my-VulnerabilityTitle-count-deltas-over-time-with/m-p/486588#M8024</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| eval import_time=strftime(_time, "%Y-%m-%d:%H")
| eval import_timeday=strftime(_time, "%Y-%m-%d")
| eventstats latest(import_time) as Last by import_timeday
| where Last = import_time
| stats count as Count by import_timeday VulnerabilityTitle
| sort 0 - Count
| streamstats count as tops by import_timeday
| where tops &amp;lt; 11
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hi @jlovik&lt;BR /&gt;
there is no details. this is quiz, I guess. please provide correct answer and result.&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 22:34:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-view-my-VulnerabilityTitle-count-deltas-over-time-with/m-p/486588#M8024</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-05-04T22:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to view my VulnerabilityTitle count deltas over time with ranking</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-view-my-VulnerabilityTitle-count-deltas-over-time-with/m-p/486589#M8025</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/218675"&gt;@magneto417x&lt;/a&gt;  This is not a quiz. It's a real world problem im working on. i am just very new to splunk. So if i wanted to rank these over time in a timechart (i know i previously asked for the opposite) how would i do that? This seems like it should work to me.&lt;/P&gt;

&lt;P&gt;| eval import_time=strftime(_time, "%Y-%m-%d:%H")&lt;BR /&gt;
 | eval import_timeday=strftime(_time, "%Y-%m-%d")&lt;BR /&gt;
 | eventstats latest(import_time) as Last by import_timeday&lt;BR /&gt;
 | where Last = import_time&lt;BR /&gt;
 | stats count as Count by import_timeday VulnerabilityTitle&lt;BR /&gt;
 | sort 0 - Count&lt;BR /&gt;
 | streamstats count as tops by import_timeday&lt;BR /&gt;
 | timechart span=1d count by VulnerabilityTitle where tops &amp;lt; 11&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:13:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-view-my-VulnerabilityTitle-count-deltas-over-time-with/m-p/486589#M8025</guid>
      <dc:creator>jlovik</dc:creator>
      <dc:date>2020-09-30T05:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to view my VulnerabilityTitle count deltas over time with ranking</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-view-my-VulnerabilityTitle-count-deltas-over-time-with/m-p/486590#M8026</link>
      <description>&lt;P&gt;hi @jlovik&lt;/P&gt;

&lt;P&gt;For me, this is Quiz. there is no detail, no log, no sample, no result. I know nothing.&lt;BR /&gt;
Can you create an SPL in this situation?&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| timechart span=1d count by VulnerabilityTitle where tops &amp;lt; 11&lt;/CODE&gt;&lt;BR /&gt;
Can this work? &lt;/P&gt;

&lt;P&gt;my query result:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;import_timeday, VulnerabilityTitle, Count, tops
2020-05-01, XXX, 100, 1
2020-05-01, YYY, 50, 2
....
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Each &lt;CODE&gt;import_timeday&lt;/CODE&gt; , &lt;CODE&gt;VulnerabilityTitle&lt;/CODE&gt; should be in the top 10 in order of &lt;CODE&gt;Count&lt;/CODE&gt;.&lt;BR /&gt;
You don't need &lt;CODE&gt;timechart&lt;/CODE&gt;.    &lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 16:50:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-view-my-VulnerabilityTitle-count-deltas-over-time-with/m-p/486590#M8026</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-05-05T16:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to view my VulnerabilityTitle count deltas over time with ranking</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-view-my-VulnerabilityTitle-count-deltas-over-time-with/m-p/486591#M8027</link>
      <description>&lt;P&gt;your search works perfectly from above. i get the below all neatly aligned. it just doesn't seem to let me create a chart out of those fields after the | streamstats command. I would like to chart the tops 1-10 for each import_timeday for my search range in a line chart.&lt;/P&gt;

&lt;P&gt;timeday, VulnerabilityTitle, Count tops,&lt;BR /&gt;
2020-05-04, Weak LAN, 1&lt;BR /&gt;
2020-05-02, VM Ware, 1&lt;BR /&gt;
2020-05-05, tls, 1&lt;BR /&gt;
2020-05-01, micro, 1&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 17:00:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-view-my-VulnerabilityTitle-count-deltas-over-time-with/m-p/486591#M8027</guid>
      <dc:creator>jlovik</dc:creator>
      <dc:date>2020-05-05T17:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to view my VulnerabilityTitle count deltas over time with ranking</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-view-my-VulnerabilityTitle-count-deltas-over-time-with/m-p/486592#M8028</link>
      <description>&lt;P&gt;what's &lt;CODE&gt;x-axis&lt;/CODE&gt; and &lt;CODE&gt;y-axis&lt;/CODE&gt; ?&lt;/P&gt;

&lt;P&gt;maybe:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...
| fields - Count
| xyseries import_timeday, VulnerabilityTitle, tops
| sort 0 import_timeday
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Viz &amp;gt;&amp;gt; Line Chart&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 17:17:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-view-my-VulnerabilityTitle-count-deltas-over-time-with/m-p/486592#M8028</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-05-05T17:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to view my VulnerabilityTitle count deltas over time with ranking</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-view-my-VulnerabilityTitle-count-deltas-over-time-with/m-p/486593#M8029</link>
      <description>&lt;P&gt;you are magic. thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 17:26:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-view-my-VulnerabilityTitle-count-deltas-over-time-with/m-p/486593#M8029</guid>
      <dc:creator>jlovik</dc:creator>
      <dc:date>2020-05-05T17:26:36Z</dc:date>
    </item>
  </channel>
</rss>

