<?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: Create Timechart from multisearch in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Create-Timechart-from-multisearch/m-p/548437#M155561</link>
    <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;timechart&lt;/FONT&gt; command requires the _time field, but &lt;FONT face="courier new,courier"&gt;fields P&lt;/FONT&gt; removed it.&amp;nbsp; Try &lt;FONT face="courier new,courier"&gt;fields _time P&lt;/FONT&gt; and then add your &lt;FONT face="courier new,courier"&gt;timechart&lt;/FONT&gt; command (using "count P" rather than "count R").&lt;/P&gt;</description>
    <pubDate>Mon, 19 Apr 2021 14:18:08 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2021-04-19T14:18:08Z</dc:date>
    <item>
      <title>Create Timechart from multisearch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Create-Timechart-from-multisearch/m-p/548433#M155558</link>
      <description>&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;I'm trying to create a time chart of a variable that I have to compute as a global percentage between two searches, but after reading the documentation in splunk I cant seem to find a way to do it right.&lt;BR /&gt;&lt;BR /&gt;My orginal code looks like this:&lt;BR /&gt;&lt;BR /&gt;| multisearch&lt;BR /&gt;[| search index="portalA"&lt;BR /&gt;| search py="X_O1"]&lt;BR /&gt;[| search index="portalA"&lt;BR /&gt;| search px="X_O3"]&lt;BR /&gt;| stats c(py) as START, c(px) as END&lt;BR /&gt;| eval P=round(100*END/START,1)&lt;BR /&gt;| fields P&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;now that I have calculated P (as the percestage) I would like to have this plot as a time chart that shows P for the last 10 days...&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;so I was including&amp;nbsp;&lt;BR /&gt;| timechart count by R limit=10 span=1d at the end of my code, I will truly appreciate if someone can kindly help me thank you SO MUCH&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 14:09:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Create-Timechart-from-multisearch/m-p/548433#M155558</guid>
      <dc:creator>andres91302</dc:creator>
      <dc:date>2021-04-19T14:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Create Timechart from multisearch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Create-Timechart-from-multisearch/m-p/548437#M155561</link>
      <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;timechart&lt;/FONT&gt; command requires the _time field, but &lt;FONT face="courier new,courier"&gt;fields P&lt;/FONT&gt; removed it.&amp;nbsp; Try &lt;FONT face="courier new,courier"&gt;fields _time P&lt;/FONT&gt; and then add your &lt;FONT face="courier new,courier"&gt;timechart&lt;/FONT&gt; command (using "count P" rather than "count R").&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 14:18:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Create-Timechart-from-multisearch/m-p/548437#M155561</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-04-19T14:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Create Timechart from multisearch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Create-Timechart-from-multisearch/m-p/548487#M155582</link>
      <description>&lt;P&gt;Hello! Thank you for reaching out to&amp;nbsp; me... Thank you for pointing out a misspelled I had in my question... I just tried to add the code:&lt;BR /&gt;&lt;BR /&gt;| timechart count by P span="1d"&lt;BR /&gt;at the begining I got nothng so I changed the command "stats" for&amp;nbsp; "streamstats" after that&amp;nbsp;&amp;nbsp;got a weird result, I'd like to kindly explain that what I am trying to do is visualize a timechart with only the value of P for the last 10 days, to see if the current value of P now is below or above those of the 10 past days, but instead I have a table with numbers above 100 (which should not happen) ... I dont know if the best thing to do would be to calculate the last 10 days manualy.. thank you for any recomendation you can give me&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 19:07:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Create-Timechart-from-multisearch/m-p/548487#M155582</guid>
      <dc:creator>andres91302</dc:creator>
      <dc:date>2021-04-19T19:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Create Timechart from multisearch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Create-Timechart-from-multisearch/m-p/548526#M155593</link>
      <description>&lt;P&gt;To see how the value of a single field changes over time, omit the 'by' clause.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;... | timechart span=1d max(P) as P&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 20 Apr 2021 00:36:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Create-Timechart-from-multisearch/m-p/548526#M155593</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-04-20T00:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create Timechart from multisearch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Create-Timechart-from-multisearch/m-p/548531#M155597</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp; thank you so much&amp;nbsp; I tried&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;... | timechart span=1d max(P) as P&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;and It gave me a max value for P thats over a 100 which for my data is imposible... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; I dont know if this is because the coude that I am using or because the command streamstats, but If I go to my dashboard and calculate the value dor P for "!yesterday" it always gives me a number below&amp;nbsp; 100... I will be reading more about the documentation of streams stats THANK YOU FO MUCH FOR YOUR HELP&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;it means the wrld to me you have no idea thank yu so much&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 01:49:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Create-Timechart-from-multisearch/m-p/548531#M155597</guid>
      <dc:creator>andres91302</dc:creator>
      <dc:date>2021-04-20T01:49:04Z</dc:date>
    </item>
  </channel>
</rss>

