<?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 do I extract data from this aide output in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-data-from-this-aide-output/m-p/206793#M60253</link>
    <description>&lt;P&gt;It depends on what you need to do with the information in the log.  What do you need out of it and how are you planning to use it?&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jun 2016 21:11:52 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2016-06-14T21:11:52Z</dc:date>
    <item>
      <title>How do I extract data from this aide output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-data-from-this-aide-output/m-p/206792#M60252</link>
      <description>&lt;P&gt;All, &lt;/P&gt;

&lt;P&gt;I had originally handles this with HUGE pile if SED commands and loops in a BASH script. But I am thinking there has to be a "Splunk" way of extracting these field. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Start timestamp: 2016-06-11 01:53:00
Summary:
  Total number of files:    1116
  Added files:          0
  Removed files:        1
  Changed files:        3
---------------------------------------------------
Removed files:
---------------------------------------------------
removed: /var/log/aide/aideCIM.log
---------------------------------------------------
Changed files:
---------------------------------------------------
changed: /var/log/aide
changed: /var/log/aide/aide.log
changed: /var/log/aide/aide_files.log
---------------------------------------------------
Detailed information about changes:
---------------------------------------------------
Directory: /var/log/aide
 Size     : 60                               , 42
File: /var/log/aide/aide.log
 Inode    : 203813062                        , 203815353
File: /var/log/aide/aide_files.log
 Size     : 8241                             , 6287
 Perm     : -rw-r--r--                       , -rw-------
 Inode    : 203813077                        , 203813089
 ACL      : old = A:
----
user::rw-
group::r--
other::r--
----
                  D: &amp;lt;NONE&amp;gt;
            new = A:
----
user::rw-
group::---
other::---
----
                  D: &amp;lt;NONE&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The area the challenges me the most is the multiple "changed" in a single log file. And of course the detail area. Any recommendations? Starting points. &lt;/P&gt;</description>
      <pubDate>Sat, 11 Jun 2016 05:13:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-data-from-this-aide-output/m-p/206792#M60252</guid>
      <dc:creator>daniel333</dc:creator>
      <dc:date>2016-06-11T05:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract data from this aide output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-data-from-this-aide-output/m-p/206793#M60253</link>
      <description>&lt;P&gt;It depends on what you need to do with the information in the log.  What do you need out of it and how are you planning to use it?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 21:11:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-data-from-this-aide-output/m-p/206793#M60253</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-06-14T21:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract data from this aide output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-data-from-this-aide-output/m-p/206794#M60254</link>
      <description>&lt;P&gt;Do you have any control over the output of this script? Is this something custom you are running? &lt;/P&gt;</description>
      <pubDate>Sun, 19 Jun 2016 22:05:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-data-from-this-aide-output/m-p/206794#M60254</guid>
      <dc:creator>ryanoconnor</dc:creator>
      <dc:date>2016-06-19T22:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract data from this aide output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-data-from-this-aide-output/m-p/206795#M60255</link>
      <description>&lt;P&gt;Good point, I was trying to do everything.  I went in and shrunk down my needs. SEDCMD's all the junk that I don't want. Thanks for the wake up there. &lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 04:15:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-data-from-this-aide-output/m-p/206795#M60255</guid>
      <dc:creator>daniel333</dc:creator>
      <dc:date>2016-06-20T04:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract data from this aide output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-data-from-this-aide-output/m-p/533102#M150609</link>
      <description>&lt;P&gt;There&amp;nbsp; is an option in aide to get the logs in syslog format (in a single line). Please add the below lines in aide.conf.&amp;nbsp;&lt;/P&gt;&lt;P&gt;syslog_format = true&lt;/P&gt;&lt;P&gt;report_url=syslog:LOG_AUTH&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In man pages about aide.conf&lt;/P&gt;&lt;P&gt;syslog_format&lt;BR /&gt;Valid values are yes,true,no and false. This option enables new syslog format which is suitable for logging. Every change is logged as one simple&lt;BR /&gt;line. This option changes verbose level to 0 and prints everything that was changed. It is suggested to use this option with "report_url=syslog:...".&lt;BR /&gt;Default value is "false/no". Maximum size of message is 1KB which is limitation of syslog call. If message is greater than limit, message will be&lt;BR /&gt;truncated. Option summarize_changes has no impact for this format.&lt;/P&gt;&lt;P&gt;Output always starts with:&lt;BR /&gt;"AIDE found differences between database and filesystem!!"&lt;BR /&gt;And it is followed by summary:&lt;BR /&gt;summary;total_number_of_files=1000;added_files=0;removed_files=0;changed_files=1&lt;BR /&gt;And finally there are logs about changes:&lt;BR /&gt;dir=/usr/sbin;Mtime_old=0000-00-00 00:00:00;Mtime_new=0000-00-00 00:00:00;...&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 07:45:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-data-from-this-aide-output/m-p/533102#M150609</guid>
      <dc:creator>saravanan90</dc:creator>
      <dc:date>2020-12-15T07:45:35Z</dc:date>
    </item>
  </channel>
</rss>

