<?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: Excluding daily values in chart if less then 1 in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Excluding-daily-values-in-chart-if-less-then-1/m-p/606447#M210924</link>
    <description>&lt;P&gt;This was exactly what I was looking for, thank you very much!&lt;/P&gt;&lt;P&gt;// G&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jul 2022 08:23:58 GMT</pubDate>
    <dc:creator>fatsug</dc:creator>
    <dc:date>2022-07-21T08:23:58Z</dc:date>
    <item>
      <title>Excluding daily values in chart if less then 1</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Excluding-daily-values-in-chart-if-less-then-1/m-p/606440#M210920</link>
      <description>&lt;P&gt;Hello community&lt;/P&gt;&lt;P&gt;I am trying to combine two different things and cannot figure out how. I am looking at a certain action and counting how many times this is observed per IP address and day. Then I’m plotting per IP by day to try to find recurring events based on IP address. I got this far:&lt;/P&gt;&lt;PRE&gt;&amp;lt;base-search&amp;gt; earliest="-7d@d" latest="@d"&lt;BR /&gt;| chart count over ip by date_wday&lt;/PRE&gt;&lt;P&gt;Which does exactly what is intended, tough the details are lost as there are a lot if single events per IP address. So, I’d like to filter out any IP address with only 1 event during the period (here one week).&lt;/P&gt;&lt;P&gt;This works fine for filtering:&lt;/P&gt;&lt;PRE&gt;| stats count as sum by ip&lt;BR /&gt;| search summa &amp;gt; 1&lt;/PRE&gt;&lt;P&gt;But then I loose the details needed for the chart part. I figured maybe I could use eval to filter out based on total count but could not put together anything which worked. Even when I tried to combine stats and eval I either failed or ended up with something which could not be presented graphically.&lt;/P&gt;&lt;P&gt;Any suggestions are more than appreciated&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;// G&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 08:08:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Excluding-daily-values-in-chart-if-less-then-1/m-p/606440#M210920</guid>
      <dc:creator>fatsug</dc:creator>
      <dc:date>2022-07-21T08:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding daily values in chart if less then 1</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Excluding-daily-values-in-chart-if-less-then-1/m-p/606442#M210921</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Perhaps you can do it with timechart and a where clause. Something like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;base-search&amp;gt; earliest="-7d@d" latest="@d"
| timechart span=1d count as sum by ip where sum &amp;gt; 1&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 21 Jul 2022 08:15:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Excluding-daily-values-in-chart-if-less-then-1/m-p/606442#M210921</guid>
      <dc:creator>javiergn</dc:creator>
      <dc:date>2022-07-21T08:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding daily values in chart if less then 1</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Excluding-daily-values-in-chart-if-less-then-1/m-p/606443#M210922</link>
      <description>&lt;P&gt;You can try:&lt;BR /&gt;&lt;BR /&gt;| eventstats count by IP&lt;BR /&gt;| where count &amp;gt; 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 08:17:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Excluding-daily-values-in-chart-if-less-then-1/m-p/606443#M210922</guid>
      <dc:creator>JacekF</dc:creator>
      <dc:date>2022-07-21T08:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding daily values in chart if less then 1</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Excluding-daily-values-in-chart-if-less-then-1/m-p/606447#M210924</link>
      <description>&lt;P&gt;This was exactly what I was looking for, thank you very much!&lt;/P&gt;&lt;P&gt;// G&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 08:23:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Excluding-daily-values-in-chart-if-less-then-1/m-p/606447#M210924</guid>
      <dc:creator>fatsug</dc:creator>
      <dc:date>2022-07-21T08:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding daily values in chart if less then 1</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Excluding-daily-values-in-chart-if-less-then-1/m-p/606451#M210927</link>
      <description>&lt;P&gt;I could and your suggestions works so a big thank you! However, this gives number of hits per IP by day, I wanted to see number of hits per day by IP.&lt;/P&gt;&lt;P&gt;I started out with timechart though as I wanted a bargraph showing if any IP performed the same action on any two or more days in the past week. I guess you could "switch" the x-axis for timechart (?) though it just seemed more appropriate to use chart.&lt;/P&gt;&lt;P&gt;Again, thank you very much! I'll hang an to that combination for later use!&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;// G&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 08:28:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Excluding-daily-values-in-chart-if-less-then-1/m-p/606451#M210927</guid>
      <dc:creator>fatsug</dc:creator>
      <dc:date>2022-07-21T08:28:24Z</dc:date>
    </item>
  </channel>
</rss>

