<?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 Using clustering to calculate start and end of a process in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Using-clustering-to-calculate-start-and-end-of-a-process/m-p/256151#M9709</link>
    <description>&lt;P&gt;Hi all&lt;/P&gt;

&lt;P&gt;I have some events which represent something like a ping.&lt;/P&gt;

&lt;P&gt;For example :&lt;BR /&gt;
_time: a time stamp&lt;BR /&gt;
doing it: 1&lt;BR /&gt;
database: db1&lt;BR /&gt;
server: server1&lt;/P&gt;

&lt;P&gt;so i get something like this:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2374i1AD8D8778854962C/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;the color represent the DB.&lt;BR /&gt;
Now, what i need to do is to write a query which understands that there are 2 groups of events for the violet db and that gives me that _time of the first event and the rime od the last event of every group, like in the next image.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2375i9E7F281F6A13294B/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt; &lt;/P&gt;

&lt;P&gt;I think this can be achieved using clustering, just i dont know how (maybe with k means method).&lt;/P&gt;

&lt;P&gt;Can you help me?&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jan 2017 15:42:53 GMT</pubDate>
    <dc:creator>andreafebbo</dc:creator>
    <dc:date>2017-01-27T15:42:53Z</dc:date>
    <item>
      <title>Using clustering to calculate start and end of a process</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Using-clustering-to-calculate-start-and-end-of-a-process/m-p/256151#M9709</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;

&lt;P&gt;I have some events which represent something like a ping.&lt;/P&gt;

&lt;P&gt;For example :&lt;BR /&gt;
_time: a time stamp&lt;BR /&gt;
doing it: 1&lt;BR /&gt;
database: db1&lt;BR /&gt;
server: server1&lt;/P&gt;

&lt;P&gt;so i get something like this:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2374i1AD8D8778854962C/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;the color represent the DB.&lt;BR /&gt;
Now, what i need to do is to write a query which understands that there are 2 groups of events for the violet db and that gives me that _time of the first event and the rime od the last event of every group, like in the next image.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2375i9E7F281F6A13294B/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt; &lt;/P&gt;

&lt;P&gt;I think this can be achieved using clustering, just i dont know how (maybe with k means method).&lt;/P&gt;

&lt;P&gt;Can you help me?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 15:42:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Using-clustering-to-calculate-start-and-end-of-a-process/m-p/256151#M9709</guid>
      <dc:creator>andreafebbo</dc:creator>
      <dc:date>2017-01-27T15:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using clustering to calculate start and end of a process</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Using-clustering-to-calculate-start-and-end-of-a-process/m-p/256152#M9710</link>
      <description>&lt;P&gt;Give transaction command a try.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search | transaction database server | eval start=_time | eval end=_time+duration
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 27 Jan 2017 15:49:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Using-clustering-to-calculate-start-and-end-of-a-process/m-p/256152#M9710</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-01-27T15:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using clustering to calculate start and end of a process</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Using-clustering-to-calculate-start-and-end-of-a-process/m-p/256153#M9711</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | transaction max_pause=5m database server | eval start = _time, end = _time + duration
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 05 Mar 2017 05:29:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Using-clustering-to-calculate-start-and-end-of-a-process/m-p/256153#M9711</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-03-05T05:29:52Z</dc:date>
    </item>
  </channel>
</rss>

