<?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: Splunk Table with data from multiple points in time in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Table-with-data-from-multiple-points-in-time/m-p/543564#M153968</link>
    <description>&lt;P&gt;Perfect, thanks exactly what I needed.&lt;/P&gt;</description>
    <pubDate>Fri, 12 Mar 2021 16:57:23 GMT</pubDate>
    <dc:creator>TedWhite</dc:creator>
    <dc:date>2021-03-12T16:57:23Z</dc:date>
    <item>
      <title>Splunk Table with data from multiple points in time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Table-with-data-from-multiple-points-in-time/m-p/543538#M153955</link>
      <description>&lt;P&gt;I have a datasource that drops data into Splunk every 10 minutes that contains data about my team's workflow.&lt;/P&gt;&lt;P&gt;The data in Splunk looks something like this&lt;/P&gt;&lt;P&gt;10:00am "Priority" = 10&lt;/P&gt;&lt;P&gt;10:00am "Normal" = 100&lt;/P&gt;&lt;P&gt;10:10am "Priority" = 8&lt;/P&gt;&lt;P&gt;10:10am "Normal" = 102&lt;/P&gt;&lt;P&gt;10:20am "Priority" = 12&lt;/P&gt;&lt;P&gt;10:20am "Normal" = 95&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;I want to create a table that looks like this:&lt;/P&gt;&lt;P&gt;Priority Type, Tickets Now, Tickets 1 hour ago, Tickets 24 hours ago&lt;/P&gt;&lt;P&gt;Normal,95,100,103&lt;/P&gt;&lt;P&gt;Priority,12,,10,8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My search is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;index="data" source="log"&amp;nbsp;earliest=-12hr&lt;/P&gt;&lt;P&gt;TicketPriority= "Normal" OR "Priority"&lt;BR /&gt;| bin field3 span=10m&lt;BR /&gt;| dedup TicketPriority&lt;BR /&gt;| stats values(field3) by TicketPriority&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I get it to add the numbers of tickets from 1 hour ago and 24 hours ago?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 13:12:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Table-with-data-from-multiple-points-in-time/m-p/543538#M153955</guid>
      <dc:creator>TedWhite</dc:creator>
      <dc:date>2021-03-12T13:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Table with data from multiple points in time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Table-with-data-from-multiple-points-in-time/m-p/543553#M153963</link>
      <description>&lt;P&gt;Assuming you have a _time field and field3 is your count&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="data" source="log" earliest=-24hr
TicketPriority= "Normal" OR "Priority"
| bin _time span=10m
| eval bucket=round((now() - _time) / (60 * 10), 0)
| where bucket IN ( 0, 6, 144 )
| eval bucket=case(0,"Tickets now", 6, "Tickets 1 hour ago", 144, "Tickets 24 hours ago")
| chart values(field3) by TicketPriority bucket&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 12 Mar 2021 14:54:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Table-with-data-from-multiple-points-in-time/m-p/543553#M153963</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-03-12T14:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Table with data from multiple points in time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Table-with-data-from-multiple-points-in-time/m-p/543564#M153968</link>
      <description>&lt;P&gt;Perfect, thanks exactly what I needed.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 16:57:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Table-with-data-from-multiple-points-in-time/m-p/543564#M153968</guid>
      <dc:creator>TedWhite</dc:creator>
      <dc:date>2021-03-12T16:57:23Z</dc:date>
    </item>
  </channel>
</rss>

