<?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: Need to populate recent time value at the column left and oldest time towards right using chart command in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Need-to-populate-recent-time-value-at-the-column-left-and-oldest/m-p/491569#M137221</link>
    <description>&lt;P&gt;Hello nike,&lt;/P&gt;

&lt;P&gt;Thanks for your reply.&lt;BR /&gt;
I tried this but not working.&lt;BR /&gt;
I need a solution with respect to chart command only so that my view shouldn't change.&lt;/P&gt;

&lt;P&gt;Kindly help!!&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2019 01:39:25 GMT</pubDate>
    <dc:creator>arunrajamani</dc:creator>
    <dc:date>2019-11-21T01:39:25Z</dc:date>
    <item>
      <title>Need to populate recent time value at the column left and oldest time towards right using chart command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-to-populate-recent-time-value-at-the-column-left-and-oldest/m-p/491563#M137215</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;

&lt;P&gt;We had created splunk dashboard for monitoring automation tests which is triggered at Jenkins. Below is the dashboard view which we created and kindly help here in getting the time field to show latest value in the left and currently it was showing oldest value in the left.&lt;/P&gt;

&lt;P&gt;Kindly help here in sharing your valuable inputs.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
Arun&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 07:32:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-to-populate-recent-time-value-at-the-column-left-and-oldest/m-p/491563#M137215</guid>
      <dc:creator>arunrajamani</dc:creator>
      <dc:date>2019-11-20T07:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Need to populate recent time value at the column left and oldest time towards right using chart command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-to-populate-recent-time-value-at-the-column-left-and-oldest/m-p/491564#M137216</link>
      <description>&lt;P&gt;Query used:&lt;/P&gt;

&lt;P&gt;Below is the query used to generate this dashboard.&lt;/P&gt;

&lt;P&gt;index=splunk&lt;BR /&gt;
|spath ​&lt;BR /&gt;
|rename triggered-at as StartTime​&lt;BR /&gt;
|spath path=scenarioData{}  ​&lt;BR /&gt;
| mvexpand scenarioData{}  ​&lt;BR /&gt;
| spath input=scenarioData{}  ​&lt;BR /&gt;
​&lt;BR /&gt;
|rename environment as Environment, "business scenario" as BusinessScenario,steps{}.fullName as Steps,steps{}.status as Status steps{}.steptime as StepTime steps{}.stepduration as Duration evidenceURL as Evidence​&lt;BR /&gt;
​&lt;BR /&gt;
|eval string1=mvzip(Steps,Status,"sep_")​&lt;BR /&gt;
|mvexpand string1​&lt;BR /&gt;
|rex field=string1 "(?.&lt;EM&gt;)sep_"​&lt;BR /&gt;
|rex field=string1 "sep_(?.&lt;/EM&gt;)"​&lt;BR /&gt;
​&lt;BR /&gt;
|eval Status = if('Status'="passed","P",if('Status'="failed","F",if('Status'="Pass","P",if('Status'="Fail","F",if('Status'="Skipped","S",if('Status'="skipped","S",'Status'))))))​&lt;BR /&gt;
​|eval epoche=strptime(StartTime,"%Y-%m-%dT%H:%M:%SZ")​&lt;BR /&gt;
|eval c_time=strftime(epoche,"%d/%m-%H:00")​&lt;BR /&gt;
| search Environment="sit" AND BusinessScenario="BusinessScenario1" AND application="&lt;EM&gt;" AND type="&lt;/EM&gt;"​​&lt;BR /&gt;
| table Steps Status c_time StepTime Duration Evidence​&lt;BR /&gt;
| chart values(Status) by Steps,c_time&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:06:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-to-populate-recent-time-value-at-the-column-left-and-oldest/m-p/491564#M137216</guid>
      <dc:creator>arunrajamani</dc:creator>
      <dc:date>2020-09-30T03:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need to populate recent time value at the column left and oldest time towards right using chart command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-to-populate-recent-time-value-at-the-column-left-and-oldest/m-p/491565#M137217</link>
      <description>&lt;P&gt;Steps   19/11-15:00 19/11-21:00 20/11-09:00 20/11-12:00&lt;BR /&gt;
Step1   P   P   P   F&lt;BR /&gt;
Step2   P   P   P   S&lt;BR /&gt;
Step3   P   P   P   S&lt;BR /&gt;
Step4   P   P   P   S&lt;BR /&gt;
Step5   P   P   P   S&lt;BR /&gt;
Step6   P   P   P   S&lt;BR /&gt;
Step7   P   P   P   P&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 07:40:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-to-populate-recent-time-value-at-the-column-left-and-oldest/m-p/491565#M137217</guid>
      <dc:creator>arunrajamani</dc:creator>
      <dc:date>2019-11-20T07:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Need to populate recent time value at the column left and oldest time towards right using chart command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-to-populate-recent-time-value-at-the-column-left-and-oldest/m-p/491566#M137218</link>
      <description>&lt;P&gt;Does the reverse command help you accomplish this?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 12:32:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-to-populate-recent-time-value-at-the-column-left-and-oldest/m-p/491566#M137218</guid>
      <dc:creator>rmmiller</dc:creator>
      <dc:date>2019-11-20T12:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need to populate recent time value at the column left and oldest time towards right using chart command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-to-populate-recent-time-value-at-the-column-left-and-oldest/m-p/491567#M137219</link>
      <description>&lt;P&gt;@arunrajamani can you please refer to one of my older Answer on similar lines&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/724720/how-can-i-change-from-descendant-to-ascendant-in-t.html"&gt;https://answers.splunk.com/answers/724720/how-can-i-change-from-descendant-to-ascendant-in-t.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 12:39:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-to-populate-recent-time-value-at-the-column-left-and-oldest/m-p/491567#M137219</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-11-20T12:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Need to populate recent time value at the column left and oldest time towards right using chart command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-to-populate-recent-time-value-at-the-column-left-and-oldest/m-p/491568#M137220</link>
      <description>&lt;P&gt;Hello Miller,&lt;/P&gt;

&lt;P&gt;I tried reverse command aswell but not worked. Kindly help me some other way using the chart command&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 12:40:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-to-populate-recent-time-value-at-the-column-left-and-oldest/m-p/491568#M137220</guid>
      <dc:creator>arunrajamani</dc:creator>
      <dc:date>2019-11-20T12:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Need to populate recent time value at the column left and oldest time towards right using chart command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-to-populate-recent-time-value-at-the-column-left-and-oldest/m-p/491569#M137221</link>
      <description>&lt;P&gt;Hello nike,&lt;/P&gt;

&lt;P&gt;Thanks for your reply.&lt;BR /&gt;
I tried this but not working.&lt;BR /&gt;
I need a solution with respect to chart command only so that my view shouldn't change.&lt;/P&gt;

&lt;P&gt;Kindly help!!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 01:39:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-to-populate-recent-time-value-at-the-column-left-and-oldest/m-p/491569#M137221</guid>
      <dc:creator>arunrajamani</dc:creator>
      <dc:date>2019-11-21T01:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need to populate recent time value at the column left and oldest time towards right using chart command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-to-populate-recent-time-value-at-the-column-left-and-oldest/m-p/491570#M137222</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| makeresults count=2
| streamstats count
| eval _time = if (count==2,relative_time(_time,"-2d@m"), relative_time(_time,"@m"))
| makecontinuous span=1m
| eval steps="step".(random() % 7 + 1)
| bin span=3h _time
| timechart limit=0 count by steps
| eval step=strftime(_time,"%Y-%m-%dT%H:%M:%SZ") 
| table step*
| reverse
| transpose 0 header_field=step column_name=steps
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hi folks,&lt;BR /&gt;
try &lt;CODE&gt;reverse&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 11:57:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-to-populate-recent-time-value-at-the-column-left-and-oldest/m-p/491570#M137222</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2019-12-10T11:57:24Z</dc:date>
    </item>
  </channel>
</rss>

