<?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 How to plot sums from a multisearch over time in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-plot-sums-from-a-multisearch-over-time/m-p/556575#M38693</link>
    <description>&lt;P&gt;Hi Everyone I hope everyone is having a great day&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to calculate the sum over two different indexes and then plot it by week or month... I have been trying to do the following :&lt;/P&gt;&lt;P&gt;1) first I calculate the total sum of my interest suing this SPL&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| multisearch
[ | search index=TRAVELS AND STATUS IN ("OK", "CHECKED", "ABORD") AND CLIENT_TYPE="vip" AND ID=*
| fields ID]
[ | search index=tv_int_ang AND STATUS IN ("BOOKED", "CHECKED", "IN_DEPT") AND corp="vip" AND crop_id=*
| fields corp ]
| stats dc(ID) as VIP_CX dc(crop_id) VIP_CORP 
| eval total=VIP_CX+VIP_CORP
&lt;/LI-CODE&gt;&lt;P&gt;but I would like to have that total plot over time by month and week I have tried the timechart function but it naver gives me what I want I know I am the one doing it wrong...&amp;nbsp; I'd like to know what would be the proper way to have "total" calculated by month or week without truncating the data... thank you so much to everyone willing to help me out&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly,&lt;/P&gt;&lt;P&gt;Cindy&lt;/P&gt;</description>
    <pubDate>Mon, 21 Jun 2021 19:07:28 GMT</pubDate>
    <dc:creator>cindygibbs_08</dc:creator>
    <dc:date>2021-06-21T19:07:28Z</dc:date>
    <item>
      <title>How to plot sums from a multisearch over time</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-plot-sums-from-a-multisearch-over-time/m-p/556575#M38693</link>
      <description>&lt;P&gt;Hi Everyone I hope everyone is having a great day&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to calculate the sum over two different indexes and then plot it by week or month... I have been trying to do the following :&lt;/P&gt;&lt;P&gt;1) first I calculate the total sum of my interest suing this SPL&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| multisearch
[ | search index=TRAVELS AND STATUS IN ("OK", "CHECKED", "ABORD") AND CLIENT_TYPE="vip" AND ID=*
| fields ID]
[ | search index=tv_int_ang AND STATUS IN ("BOOKED", "CHECKED", "IN_DEPT") AND corp="vip" AND crop_id=*
| fields corp ]
| stats dc(ID) as VIP_CX dc(crop_id) VIP_CORP 
| eval total=VIP_CX+VIP_CORP
&lt;/LI-CODE&gt;&lt;P&gt;but I would like to have that total plot over time by month and week I have tried the timechart function but it naver gives me what I want I know I am the one doing it wrong...&amp;nbsp; I'd like to know what would be the proper way to have "total" calculated by month or week without truncating the data... thank you so much to everyone willing to help me out&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly,&lt;/P&gt;&lt;P&gt;Cindy&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 19:07:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-plot-sums-from-a-multisearch-over-time/m-p/556575#M38693</guid>
      <dc:creator>cindygibbs_08</dc:creator>
      <dc:date>2021-06-21T19:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot sums from a multisearch over time</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-plot-sums-from-a-multisearch-over-time/m-p/556585#M38694</link>
      <description>&lt;P&gt;Assuming you have a _time field in both indexes, you should bucket/bin the time into the timespan you are interested in and then do the stats by the time field.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| multisearch
[ | search index=TRAVELS AND STATUS IN ("OK", "CHECKED", "ABORD") AND CLIENT_TYPE="vip" AND ID=*
| fields ID]
[ | search index=tv_int_ang AND STATUS IN ("BOOKED", "CHECKED", "IN_DEPT") AND corp="vip" AND corp_id=*
| fields corp ]
| bin _time span=1mon
| stats dc(ID) as VIP_CX dc(corp_id) as VIP_CORP by _time
| eval total=VIP_CX+VIP_CORP&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 21 Jun 2021 21:12:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-plot-sums-from-a-multisearch-over-time/m-p/556585#M38694</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-21T21:12:09Z</dc:date>
    </item>
  </channel>
</rss>

