<?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: File Compare and Display in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556307#M6157</link>
    <description>&lt;P&gt;Panel 2 displays the Events unique in each version of a file . i.e count=1 of _raw in each version of file.&lt;/P&gt;&lt;P&gt;I &lt;STRONG&gt;need&lt;/STRONG&gt; the names of all the files whose versions have unique events . i.e if first version of file1 has A B and second version has A C&amp;nbsp; , and file2 has A and B in both events then file1 should be my answer.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Jun 2021 08:18:14 GMT</pubDate>
    <dc:creator>akankshayadav</dc:creator>
    <dc:date>2021-06-18T08:18:14Z</dc:date>
    <item>
      <title>File Compare and Display</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556273#M6149</link>
      <description>&lt;P&gt;Consider, i have two files. File1 and File2&amp;nbsp;&lt;/P&gt;&lt;P&gt;File1 and File2 got indexed last month with events in file1 say A ,B&amp;nbsp; and events in file2 say C,D .&lt;/P&gt;&lt;P&gt;They again got indexed today, file1 with same events A and B but file2 with C,D,E,F. This means that file2 modified version has different events as compared to it's last version.&lt;/P&gt;&lt;P&gt;Now , i need to display in the panel all files like file2 whose current events are different from last events.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 05:27:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556273#M6149</guid>
      <dc:creator>akankshayadav</dc:creator>
      <dc:date>2021-06-18T05:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: File Compare and Display</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556292#M6152</link>
      <description>&lt;P&gt;Count the events by type and month, where there is only one e.g. E and F, these are new events.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 07:17:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556292#M6152</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-18T07:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: File Compare and Display</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556295#M6153</link>
      <description>&lt;P&gt;Can any code be provided? Below is my dashboard, might be useful for reference. 1st panel has the different version of files and 2nd panel has the unique events in each . Any help?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="akankshayadav_1-1624000934534.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14689i8CF8E726175C9384/image-size/medium?v=v2&amp;amp;px=400" role="button" title="akankshayadav_1-1624000934534.png" alt="akankshayadav_1-1624000934534.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>Fri, 18 Jun 2021 07:22:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556295#M6153</guid>
      <dc:creator>akankshayadav</dc:creator>
      <dc:date>2021-06-18T07:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: File Compare and Display</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556299#M6154</link>
      <description>&lt;P&gt;Not tremendously helpful since it isn't clear where Events have come from or whether InvVersion represents the different months, but assuming Events is a collection of Events and InvVersion are the different months, then&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats count values(InvVersion) as InvVersion by Events File
| where count=1&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 18 Jun 2021 07:37:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556299#M6154</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-18T07:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: File Compare and Display</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556302#M6155</link>
      <description>&lt;P&gt;Your assumptions are correct but the 2nd panel is dependent on the 1st panel. when i click the file in 1st panel, the 2nd one gets display by drilldown. The view you are seeing in 2nd panel is of unique events of&amp;nbsp; one file in different versions. Now from this , there are numerous files with such differences. Some have unique events, some don't . How can i display the name of files who have different events in the versions?&lt;BR /&gt;&lt;BR /&gt;For simplicity , instead of taking 4 versions of a file(as in my dashboard which a shared the pic) , lets assume there are only two versions.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 07:50:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556302#M6155</guid>
      <dc:creator>akankshayadav</dc:creator>
      <dc:date>2021-06-18T07:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: File Compare and Display</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556305#M6156</link>
      <description>&lt;P&gt;It is not clear whether the events are unique within each file for each version so assuming they aren't you can count them and ignore the count, then count the number of versions each combination of event and file there are. Any with this second count as 1 only occurs in one of the file versions&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats count by InvVersion Events File
| stats count by Events File
| where count=1
| dedup File
| table File&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 18 Jun 2021 08:02:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556305#M6156</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-18T08:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: File Compare and Display</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556307#M6157</link>
      <description>&lt;P&gt;Panel 2 displays the Events unique in each version of a file . i.e count=1 of _raw in each version of file.&lt;/P&gt;&lt;P&gt;I &lt;STRONG&gt;need&lt;/STRONG&gt; the names of all the files whose versions have unique events . i.e if first version of file1 has A B and second version has A C&amp;nbsp; , and file2 has A and B in both events then file1 should be my answer.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 08:18:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556307#M6157</guid>
      <dc:creator>akankshayadav</dc:creator>
      <dc:date>2021-06-18T08:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: File Compare and Display</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556310#M6158</link>
      <description>&lt;P&gt;Have you tried my suggestion? Here is a runanywhere version to show it working with the data you suggested&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults 
| eval _raw="InvVersion,File,Events
1,file1,A
1,file1,B
2,file1,A
2,file1,C
1,file2,A
1,file2,B
2,file2,A
2,file2,B"
| multikv forceheader=1
| fields - _* linecount


| stats count by InvVersion Events File
| stats count by Events File
| where count=1
| dedup File
| table File&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 18 Jun 2021 08:29:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556310#M6158</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-18T08:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: File Compare and Display</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556455#M6176</link>
      <description>&lt;P&gt;Yes i did try . but it isn't getting the answer.&lt;BR /&gt;Can you give me an approach that I can get the names of files whose events are different in different versions.&lt;BR /&gt;File 1 - before had events- A B&amp;nbsp; &amp;nbsp;today has A C&lt;/P&gt;&lt;P&gt;File 2- before had - X Z today also X Z&lt;/P&gt;&lt;P&gt;My output desired is File1 displayed&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 05:28:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556455#M6176</guid>
      <dc:creator>akankshayadav</dc:creator>
      <dc:date>2021-06-21T05:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: File Compare and Display</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556459#M6177</link>
      <description>&lt;P&gt;The solution which you suggested, where can i put this in my code but it's not working for some files like&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="akankshayadav_0-1624254693976.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14705i17CB356AFD0F199F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="akankshayadav_0-1624254693976.png" alt="akankshayadav_0-1624254693976.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;here the pas.csv has a different event in a version but the name of this file is not displayed in output&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="akankshayadav_1-1624254771552.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14706iBB9FCAA36B2AFA30/image-size/medium?v=v2&amp;amp;px=400" role="button" title="akankshayadav_1-1624254771552.png" alt="akankshayadav_1-1624254771552.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 05:52:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556459#M6177</guid>
      <dc:creator>akankshayadav</dc:creator>
      <dc:date>2021-06-21T05:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: File Compare and Display</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556461#M6178</link>
      <description>&lt;P&gt;Replace line 5-7 with&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats count by InvVersion path file
| stats count by path file
| where count=1
| dedup file
| table file&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 21 Jun 2021 05:42:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556461#M6178</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-21T05:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: File Compare and Display</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556468#M6179</link>
      <description>&lt;P&gt;This is displaying the names of all files , not the files only with different events&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 05:55:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556468#M6179</guid>
      <dc:creator>akankshayadav</dc:creator>
      <dc:date>2021-06-21T05:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: File Compare and Display</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556471#M6180</link>
      <description>&lt;P&gt;Try this - I was not taking into account&amp;nbsp; multiple copies of the different versions&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval path=trim(path)
| eval file=trim(file)
| stats count by InvVersion path file
| stats count by path file
| stats dc(count) as versions by file
| where versions&amp;gt;1
| dedup file
| table file&lt;/LI-CODE&gt;&lt;P&gt;Also, is it possible that either or both path and file have trailing spaces?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 06:26:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556471#M6180</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-21T06:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: File Compare and Display</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556473#M6181</link>
      <description>&lt;P&gt;No results displayed&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="akankshayadav_0-1624256991377.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14707iB1F2983F687B5DEA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="akankshayadav_0-1624256991377.png" alt="akankshayadav_0-1624256991377.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;NO trailing spaces&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 06:30:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556473#M6181</guid>
      <dc:creator>akankshayadav</dc:creator>
      <dc:date>2021-06-21T06:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: File Compare and Display</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556475#M6182</link>
      <description>&lt;P&gt;Remove lines 7 and 8 - they were from setting up sample data, not part of the solution&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 06:49:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556475#M6182</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-21T06:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: File Compare and Display</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556477#M6183</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="akankshayadav_0-1624258301900.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14709i2418256B65C331FD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="akankshayadav_0-1624258301900.png" alt="akankshayadav_0-1624258301900.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Still no output sir&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 06:51:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556477#M6183</guid>
      <dc:creator>akankshayadav</dc:creator>
      <dc:date>2021-06-21T06:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: File Compare and Display</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556479#M6184</link>
      <description>&lt;P&gt;Remove line 7&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 06:55:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556479#M6184</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-21T06:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: File Compare and Display</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556482#M6185</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="akankshayadav_0-1624258797623.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14710i78757A6B3CC1CF13/image-size/medium?v=v2&amp;amp;px=400" role="button" title="akankshayadav_0-1624258797623.png" alt="akankshayadav_0-1624258797623.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Still no output sir. What is the logic of |ine 10?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 07:00:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556482#M6185</guid>
      <dc:creator>akankshayadav</dc:creator>
      <dc:date>2021-06-21T07:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: File Compare and Display</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556490#M6186</link>
      <description>&lt;P&gt;Another approach&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults
| eval _raw="InvVersion,File,Events
1,file1,A B
2,file1,A B
3,file1,A B C
4,file1,A B C
1,file2,M N
2,file2,M N
3,file2,M O
4,file2,M P
1,file3,A
1,file3,B
2,file3,A
2,file3,B
3,file3,A
3,file3,B
3,file3,C
4,file3,A
4,file3,B
4,file3,C
1,file4,M N
2,file4,M N
3,file4,M N
4,file4,M N
1,file5,M
1,file5,N
2,file5,M
2,file5,N
3,file5,M
3,file5,N
4,file5,M
4,file5,N"
| multikv forceheader=1
| fields - _* linecount
| stats count by InvVersion Events File
| eventstats dc(InvVersion) as versions by File
| stats values(versions) as versions count by Events File
| where versions&amp;gt;count
| dedup File
| table File&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 21 Jun 2021 08:25:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556490#M6186</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-21T08:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: File Compare and Display</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556491#M6187</link>
      <description>&lt;P&gt;No output for the exact same . Did you get the output?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 08:41:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/File-Compare-and-Display/m-p/556491#M6187</guid>
      <dc:creator>akankshayadav</dc:creator>
      <dc:date>2021-06-21T08:41:17Z</dc:date>
    </item>
  </channel>
</rss>

