<?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: Swimlanes in Splunk Enterprise in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Swimlanes-in-Splunk-Enterprise/m-p/222900#M65557</link>
    <description>&lt;P&gt;Which splunk version are you using? Have you looked at the &lt;A href="https://splunkbase.splunk.com/app/3120/"&gt;timeline app&lt;/A&gt;?  This might simplify your view. Just a thought.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jun 2016 14:46:52 GMT</pubDate>
    <dc:creator>sundareshr</dc:creator>
    <dc:date>2016-06-21T14:46:52Z</dc:date>
    <item>
      <title>Swimlanes in Splunk Enterprise</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Swimlanes-in-Splunk-Enterprise/m-p/222899#M65556</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;My business requirement is to have a view that shows the number of batch jobs on the Y-axis and the Time (in hour) on the X-axis. The rows events I have is looks something like below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2016-06-20T12:01:46.000 JOB_ID=1 JOB_START_TIME=1466438400.000 JOB_END_TIME=1466442106.714 JOB_NAME=Hello_job 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For this event, _time is based on when the row is inserted to the database table which gets updated once the job finishes executing. From this event, what I need to do is:&lt;/P&gt;

&lt;P&gt;1) Grab the start time and the end time&lt;BR /&gt;
2) Divide the difference between start time and end time by hours&lt;BR /&gt;
3) Tag the event with the hours &lt;BR /&gt;
4) Increment a count for each of those hours for this job&lt;/P&gt;

&lt;P&gt;There are multiple jobs running the system, so I might need to find the min or start times and max of end times to find out the entire range.&lt;/P&gt;

&lt;P&gt;If I select for yesterday's time in the dashboard (_time), then it should show me all the jobs that had completed yesterday with a swim lane of number of jobs executing at a given hour. &lt;/P&gt;

&lt;P&gt;Example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;_time                Job ID   Job_Start_time        Job_End_time
6/16/2016 1:30 AM    Job 1    6/15/2016 11:00 PM    6/16/2016 1:20 AM
6/16/2016 3:55 AM    Job 2    6/16/2016 1:00 AM     6/16/2016 3:50 AM
6/16/2016 3:56 AM    Job 3    6/16/2016 2:00 AM     6/16/2016 3:55 AM
6/16/2016 4:12 AM    Job 3    6/16/2016 3:20 AM     6/16/2016 4:10 AM
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The chart should be like following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Job1  |  1     1     0     0     0
Job2  |  0     1     1     1     1
Job3  |  0     0     1     2     1
-------------------------------------------
hrs==    12    1     2     3     4   
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Note that there were total of two Job3 executing between 3 AM to 4 AM timeframe which shows up in the chart. &lt;/P&gt;

&lt;P&gt;I guess it's hard to explain, but let me know if you have any questions to solve this puzzle&lt;BR /&gt;
Appreciate your help.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 20:31:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Swimlanes-in-Splunk-Enterprise/m-p/222899#M65556</guid>
      <dc:creator>ash2l</dc:creator>
      <dc:date>2016-06-20T20:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Swimlanes in Splunk Enterprise</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Swimlanes-in-Splunk-Enterprise/m-p/222900#M65557</link>
      <description>&lt;P&gt;Which splunk version are you using? Have you looked at the &lt;A href="https://splunkbase.splunk.com/app/3120/"&gt;timeline app&lt;/A&gt;?  This might simplify your view. Just a thought.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 14:46:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Swimlanes-in-Splunk-Enterprise/m-p/222900#M65557</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-06-21T14:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Swimlanes in Splunk Enterprise</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Swimlanes-in-Splunk-Enterprise/m-p/222901#M65558</link>
      <description>&lt;P&gt;That's exactly what I need :). Unfortunately we are still on 6.3, is there any way to create a search query of whatever is done behind the scene for that app?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 16:33:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Swimlanes-in-Splunk-Enterprise/m-p/222901#M65558</guid>
      <dc:creator>ash2l</dc:creator>
      <dc:date>2016-06-21T16:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Swimlanes in Splunk Enterprise</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Swimlanes-in-Splunk-Enterprise/m-p/222902#M65559</link>
      <description>&lt;P&gt;Found my answer looking at &lt;A href="https://answers.splunk.com/answers/82161/plot-up-or-down-state-over-time.html"&gt;https://answers.splunk.com/answers/82161/plot-up-or-down-state-over-time.html&lt;/A&gt; post&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 14:56:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Swimlanes-in-Splunk-Enterprise/m-p/222902#M65559</guid>
      <dc:creator>ash2l</dc:creator>
      <dc:date>2016-06-29T14:56:13Z</dc:date>
    </item>
  </channel>
</rss>

