<?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: How to subtract filed values in a column in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-filed-values-in-a-column/m-p/676108#M231283</link>
    <description>&lt;LI-CODE lang="markup"&gt;| eval "delta(EpochOT)" = if(NO % 2 = 0, null(), 'delta(EpochOT)')&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 31 Jan 2024 16:20:41 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2024-01-31T16:20:41Z</dc:date>
    <item>
      <title>How to subtract filed values in a column</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-filed-values-in-a-column/m-p/676097#M231279</link>
      <description>&lt;P&gt;I have AWS Cloudtrail data and want to find out how long an EC2 instance was stopped. Is it possible to subtract the EpochOT from Row 3 to Row 2 and Row 5 to Row 4 etc..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ezamit_1-1706715500933.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29160i346029B473572F5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ezamit_1-1706715500933.png" alt="ezamit_1-1706715500933.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 15:40:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-filed-values-in-a-column/m-p/676097#M231279</guid>
      <dc:creator>ezamit</dc:creator>
      <dc:date>2024-01-31T15:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to subtract filed values in a column</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-filed-values-in-a-column/m-p/676099#M231280</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/264475"&gt;@ezamit&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;di you explored the delta command (&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/SearchReference/Delta" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/SearchReference/Delta&lt;/A&gt;)?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 15:44:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-filed-values-in-a-column/m-p/676099#M231280</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-01-31T15:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to subtract filed values in a column</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-filed-values-in-a-column/m-p/676103#M231281</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;. That's a great suggestion.&amp;nbsp; I added |&amp;nbsp;delta EpochOT p=1 to the search and it gave me the following results&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ezamit_0-1706716488185.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29161i5BD9AA76197C28A7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ezamit_0-1706716488185.png" alt="ezamit_0-1706716488185.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there a way we can do every other row in delta. I want Row 3 - Row 2, Row 5 - Row 4, Row 7 - Row 6 etc. Thanks again for your help&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 15:56:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-filed-values-in-a-column/m-p/676103#M231281</guid>
      <dc:creator>ezamit</dc:creator>
      <dc:date>2024-01-31T15:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to subtract filed values in a column</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-filed-values-in-a-column/m-p/676108#M231283</link>
      <description>&lt;LI-CODE lang="markup"&gt;| eval "delta(EpochOT)" = if(NO % 2 = 0, null(), 'delta(EpochOT)')&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 31 Jan 2024 16:20:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-filed-values-in-a-column/m-p/676108#M231283</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-01-31T16:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to subtract filed values in a column</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-filed-values-in-a-column/m-p/676110#M231284</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/264475"&gt;@ezamit&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;the solution from&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&amp;nbsp;is perfect!&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 16:27:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-filed-values-in-a-column/m-p/676110#M231284</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-01-31T16:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to subtract filed values in a column</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-filed-values-in-a-column/m-p/676149#M231286</link>
      <description>&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;Thanks Guys. it is working !!!!&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 18:32:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-filed-values-in-a-column/m-p/676149#M231286</guid>
      <dc:creator>ezamit</dc:creator>
      <dc:date>2024-01-31T18:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to subtract filed values in a column</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-filed-values-in-a-column/m-p/676193#M231295</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/264475"&gt;@ezamit&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;let us know if we can help you more, or, please, accept one answer for the other people of Community.&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated by all the contributors &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 06:58:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-filed-values-in-a-column/m-p/676193#M231295</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-02-01T06:58:43Z</dc:date>
    </item>
  </channel>
</rss>

