<?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 find the difference between the max value and the min value in the multi-value field combined by transaction? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-difference-between-the-max-value-and-the-min/m-p/593628#M206620</link>
    <description>&lt;P&gt;Can you tell us more about this use case?&amp;nbsp; What is the query?&amp;nbsp; What type of data are you comparing?&lt;/P&gt;&lt;P&gt;Check out the mvstats app (&lt;A href="https://splunkbase.splunk.com/app/5198/" target="_blank"&gt;https://splunkbase.splunk.com/app/5198/&lt;/A&gt;) for functions that work with multivalue fields.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Apr 2022 15:44:17 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2022-04-13T15:44:17Z</dc:date>
    <item>
      <title>How to find the difference between the max value and the min value in the multi-value field combined by transaction?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-difference-between-the-max-value-and-the-min/m-p/593599#M206610</link>
      <description>&lt;P&gt;I want to find the difference between the maximum value and the minimum value in the multi-value field that has been lumped together with the transaction command.&lt;/P&gt;
&lt;P&gt;Specifically, group the web access logs by ID, and then&lt;BR /&gt;I would like to find the time that the ID was operating from login to operation to logout.&lt;/P&gt;
&lt;P&gt;Do you have an idea for SPL?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 15:19:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-difference-between-the-max-value-and-the-min/m-p/593599#M206610</guid>
      <dc:creator>Msugiyama</dc:creator>
      <dc:date>2022-04-13T15:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the difference between the max value and the min value in the multi-value field combined by transaction?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-difference-between-the-max-value-and-the-min/m-p/593628#M206620</link>
      <description>&lt;P&gt;Can you tell us more about this use case?&amp;nbsp; What is the query?&amp;nbsp; What type of data are you comparing?&lt;/P&gt;&lt;P&gt;Check out the mvstats app (&lt;A href="https://splunkbase.splunk.com/app/5198/" target="_blank"&gt;https://splunkbase.splunk.com/app/5198/&lt;/A&gt;) for functions that work with multivalue fields.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 15:44:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-difference-between-the-max-value-and-the-min/m-p/593628#M206620</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-04-13T15:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the difference between the max value and the min value in the multi-value field combined by transaction?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-difference-between-the-max-value-and-the-min/m-p/593630#M206621</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/223720"&gt;@Msugiyama&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if you could share some sample data thats would be great for more people to pitch in&amp;nbsp;&lt;/P&gt;&lt;P&gt;and are you asking two different questions here&amp;nbsp;&lt;/P&gt;&lt;P&gt;about the diff of the max and min value clubbed together by transaction command you can try something like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;|makeresults |eval txnid=1234, value=40 |append [|makeresults |eval txnid=1234, value=20] |transaction txnid |eval diff = abs(tonumber(mvindex(value, 0)) - tonumber(mvindex(value, 1))) |table diff&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="venky1544_0-1649864675549.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19055iDE5E5895D4A1B9B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="venky1544_0-1649864675549.png" alt="venky1544_0-1649864675549.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and about the g&lt;SPAN&gt;roup the web access logs by ID you can use the stats command&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but would appreciate if you could throw more sample data&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if the reply helps karma points are appreciated&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 15:47:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-difference-between-the-max-value-and-the-min/m-p/593630#M206621</guid>
      <dc:creator>venky1544</dc:creator>
      <dc:date>2022-04-13T15:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the difference between the max value and the min value in the multi-value field combined by transaction?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-difference-between-the-max-value-and-the-min/m-p/593689#M206647</link>
      <description>&lt;P&gt;&lt;SPAN&gt;|makeresults&lt;BR /&gt;|eval txnid=1234, value=40&lt;BR /&gt;|append [|makeresults |eval txnid=1234, value=20]&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;|transaction txnid |eval diff = abs(tonumber(mvindex(value, 0)) - tonumber(mvindex(value, 1))) &lt;/FONT&gt;&lt;BR /&gt;|table diff&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/137142"&gt;@venky1544&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;This is it!&lt;BR /&gt;Thank you so much. I solved it with this SPL.&lt;BR /&gt;Best regard.&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thank you too.&lt;BR /&gt;I will read the page that guided me.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 00:15:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-difference-between-the-max-value-and-the-min/m-p/593689#M206647</guid>
      <dc:creator>Msugiyama</dc:creator>
      <dc:date>2022-04-14T00:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the difference between the max value and the min value in the multi-value field combined by transaction?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-difference-between-the-max-value-and-the-min/m-p/593752#M206671</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/223720"&gt;@Msugiyama&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if the solutions has helped you&amp;nbsp; can you please accept it as solution as it might help others&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Njoy splunking&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;venky1544&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 09:28:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-difference-between-the-max-value-and-the-min/m-p/593752#M206671</guid>
      <dc:creator>venky1544</dc:creator>
      <dc:date>2022-04-14T09:28:59Z</dc:date>
    </item>
  </channel>
</rss>

