<?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 print a change in value in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-print-a-change-in-value/m-p/486527#M136079</link>
    <description>&lt;P&gt;Hi tech_soul,&lt;BR /&gt;
could you share more information about your data?&lt;BR /&gt;
especially if the value to check is continously  logged or it appears only one time in a period.&lt;/P&gt;

&lt;P&gt;Anyway, I suppose that the value to check is continously logged, try something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=my_index earliest=-5m latest=now
| stats dc(check_field) AS check
| where check=1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Fri, 27 Sep 2019 08:21:11 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2019-09-27T08:21:11Z</dc:date>
    <item>
      <title>How to print a change in value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-print-a-change-in-value/m-p/486526#M136078</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;
Please help me to set an alert when a value change occurred.&lt;BR /&gt;
Also, I need to print old and new values.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 06:04:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-print-a-change-in-value/m-p/486526#M136078</guid>
      <dc:creator>tech_soul</dc:creator>
      <dc:date>2019-09-27T06:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to print a change in value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-print-a-change-in-value/m-p/486527#M136079</link>
      <description>&lt;P&gt;Hi tech_soul,&lt;BR /&gt;
could you share more information about your data?&lt;BR /&gt;
especially if the value to check is continously  logged or it appears only one time in a period.&lt;/P&gt;

&lt;P&gt;Anyway, I suppose that the value to check is continously logged, try something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=my_index earliest=-5m latest=now
| stats dc(check_field) AS check
| where check=1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 08:21:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-print-a-change-in-value/m-p/486527#M136079</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-09-27T08:21:11Z</dc:date>
    </item>
  </channel>
</rss>

