<?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: differences in multi-valued field over time in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/differences-in-multi-valued-field-over-time/m-p/123730#M33407</link>
    <description>&lt;P&gt;Do you know  in advance all the values of the field &lt;STRONG&gt;file&lt;/STRONG&gt;?&lt;/P&gt;</description>
    <pubDate>Tue, 31 Mar 2015 18:59:07 GMT</pubDate>
    <dc:creator>stephane_cyrill</dc:creator>
    <dc:date>2015-03-31T18:59:07Z</dc:date>
    <item>
      <title>differences in multi-valued field over time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/differences-in-multi-valued-field-over-time/m-p/123729#M33406</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I'm getting events like this:&lt;/P&gt;

&lt;P&gt;time=11111 file=aaaa&lt;BR /&gt;
time=11111 file=bbbb&lt;BR /&gt;
time=11111 file=cccc&lt;BR /&gt;
time=11111 file=dddd&lt;/P&gt;

&lt;P&gt;time=22222 file=aaaa&lt;BR /&gt;
time=22222 file=bbbb&lt;BR /&gt;
time=22222 file=cccc&lt;BR /&gt;
time=22222 file=dddd&lt;BR /&gt;
time=22222 file=eeee&lt;/P&gt;

&lt;P&gt;time=33333 file=aaaa&lt;BR /&gt;
time=33333 file=bbbb&lt;BR /&gt;
time=33333 file=cccc&lt;BR /&gt;
time=33333 file=dddd&lt;BR /&gt;
time=33333 file=ffff&lt;/P&gt;

&lt;P&gt;...&lt;/P&gt;

&lt;P&gt;time=99999 file=aaaa&lt;BR /&gt;
time=99999 file=bbbb&lt;/P&gt;

&lt;P&gt;now i want to determine the changes of the field "file" over time. I was trying to create transactions and using diff ... but this leads nowhere... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Thanks for your help in advance,&lt;/P&gt;

&lt;P&gt;Andreas&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2015 18:53:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/differences-in-multi-valued-field-over-time/m-p/123729#M33406</guid>
      <dc:creator>andreas_roth</dc:creator>
      <dc:date>2015-03-31T18:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: differences in multi-valued field over time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/differences-in-multi-valued-field-over-time/m-p/123730#M33407</link>
      <description>&lt;P&gt;Do you know  in advance all the values of the field &lt;STRONG&gt;file&lt;/STRONG&gt;?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2015 18:59:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/differences-in-multi-valued-field-over-time/m-p/123730#M33407</guid>
      <dc:creator>stephane_cyrill</dc:creator>
      <dc:date>2015-03-31T18:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: differences in multi-valued field over time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/differences-in-multi-valued-field-over-time/m-p/123731#M33408</link>
      <description>&lt;P&gt;nope... so there is a script, crawling a directory from time to time. I need to find out which files were created or deleted.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2015 19:14:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/differences-in-multi-valued-field-over-time/m-p/123731#M33408</guid>
      <dc:creator>andreas_roth</dc:creator>
      <dc:date>2015-03-31T19:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: differences in multi-valued field over time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/differences-in-multi-valued-field-over-time/m-p/123732#M33409</link>
      <description>&lt;P&gt;Hi Andreas.rth,&lt;BR /&gt;
I thin what you can do is:&lt;BR /&gt;
1- you first extract the field name file either with a regex or by IFX&lt;/P&gt;

&lt;P&gt;2- you can do this when you have you field value:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...........|stats first(file) AS new_value|eval change=if(values(file)!=new_value, "yes","NO")|table new_value change
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;3-you can decide on which time range to run the search&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2015 19:20:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/differences-in-multi-valued-field-over-time/m-p/123732#M33409</guid>
      <dc:creator>stephane_cyrill</dc:creator>
      <dc:date>2015-03-31T19:20:42Z</dc:date>
    </item>
  </channel>
</rss>

