<?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: Configure Splunk to get the aide log file in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Configure-Splunk-to-get-the-aide-log-file/m-p/667066#M111899</link>
    <description>&lt;P&gt;Just to add to this, for the path in the stanza - make sure you use the correct slashes depending which operating system it is (forward slash for Linux and back slash for Windows).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[monitor://&amp;lt;path&amp;gt;]
* Configures a file monitor input to watch all files in the &amp;lt;path&amp;gt; you specify.
* &amp;lt;path&amp;gt; can be an entire directory or a single file.
* You must specify the input type and then the path, so put three slashes in
  your path if you are starting at the root on *nix systems (to include the
  slash that indicates an absolute path).&lt;/PRE&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/inputsconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/inputsconf&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.1.1/Data/Monitorfilesanddirectorieswithinputs.conf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.1.1/Data/Monitorfilesanddirectorieswithinputs.conf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Windows inputs stanza example:&lt;/P&gt;&lt;PRE&gt;[monitor://C:\Windows\System32\WindowsUpdate.log]&lt;BR /&gt;index = test&lt;BR /&gt;sourcetype = my_sourcetype&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Nov 2023 21:43:12 GMT</pubDate>
    <dc:creator>m_pham</dc:creator>
    <dc:date>2023-11-01T21:43:12Z</dc:date>
    <item>
      <title>Configure Splunk to get the aide log file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Configure-Splunk-to-get-the-aide-log-file/m-p/666406#M111830</link>
      <description>&lt;P&gt;I am trying to configure Splunk to read the aide.log file, which file(s) do I need to modify in Splunkforwarder&amp;nbsp; to get it to read the aide.log file.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 15:59:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Configure-Splunk-to-get-the-aide-log-file/m-p/666406#M111830</guid>
      <dc:creator>ck26676</dc:creator>
      <dc:date>2023-10-26T15:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Splunk to get the aide log file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Configure-Splunk-to-get-the-aide-log-file/m-p/666417#M111831</link>
      <description>&lt;P&gt;Any inputs.conf file other than /opt/splunkforwarder/etc/system/default/inputs.conf.&lt;/P&gt;&lt;P&gt;Best practice is to create your own app (/opt/splunkforwarder/etc/apps/org_aide_inputs, for example) and put the inputs.conf file there.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 16:40:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Configure-Splunk-to-get-the-aide-log-file/m-p/666417#M111831</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-10-26T16:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Splunk to get the aide log file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Configure-Splunk-to-get-the-aide-log-file/m-p/666760#M111866</link>
      <description>&lt;P&gt;Still trying to get the right configuration to read the aide.log file, this is what I have written in the inputs.conf file.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[aide]
SHOULD_LINEMERGE = true
NO_BINARY_CHECK = true
TIME_PREFIX = Mtime\s{4}:\s\d{4,}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}\s{14},\s
BREAK_ONLY_BEFORE = ((File:|Directory:))
CHARSET = UTF-8
EXTRACT-mtime = (Mtime\s{4}:\s\d{4,}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}\s{14},\s(?\d{4,}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}))
EXTRACT-ctime = (Ctime\s{4}:\s(?\d{4,}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}))
EXTRACT-file = File:\s(?P[\/]{1,}(\w|.)+)
EXTRACT-directory = Directory:\s(?P[\/]{1,}(\w|.)+)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 30 Oct 2023 15:09:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Configure-Splunk-to-get-the-aide-log-file/m-p/666760#M111866</guid>
      <dc:creator>ck26676</dc:creator>
      <dc:date>2023-10-30T15:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Splunk to get the aide log file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Configure-Splunk-to-get-the-aide-log-file/m-p/666841#M111875</link>
      <description>&lt;P&gt;Those settings belong in props.conf on the indexers and heavy forwarders.&lt;/P&gt;&lt;P&gt;BTW, the TIME_PREFIX setting should describe what comes *before* the timestamp and not the timestamp itself.&lt;/P&gt;&lt;P&gt;The inputs.conf file should look a little like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[monitor:///path/to/file]
index = foo
sourcetype = mysourcetype&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 31 Oct 2023 01:15:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Configure-Splunk-to-get-the-aide-log-file/m-p/666841#M111875</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-10-31T01:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Splunk to get the aide log file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Configure-Splunk-to-get-the-aide-log-file/m-p/667066#M111899</link>
      <description>&lt;P&gt;Just to add to this, for the path in the stanza - make sure you use the correct slashes depending which operating system it is (forward slash for Linux and back slash for Windows).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[monitor://&amp;lt;path&amp;gt;]
* Configures a file monitor input to watch all files in the &amp;lt;path&amp;gt; you specify.
* &amp;lt;path&amp;gt; can be an entire directory or a single file.
* You must specify the input type and then the path, so put three slashes in
  your path if you are starting at the root on *nix systems (to include the
  slash that indicates an absolute path).&lt;/PRE&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/inputsconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/inputsconf&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.1.1/Data/Monitorfilesanddirectorieswithinputs.conf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.1.1/Data/Monitorfilesanddirectorieswithinputs.conf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Windows inputs stanza example:&lt;/P&gt;&lt;PRE&gt;[monitor://C:\Windows\System32\WindowsUpdate.log]&lt;BR /&gt;index = test&lt;BR /&gt;sourcetype = my_sourcetype&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 21:43:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Configure-Splunk-to-get-the-aide-log-file/m-p/667066#M111899</guid>
      <dc:creator>m_pham</dc:creator>
      <dc:date>2023-11-01T21:43:12Z</dc:date>
    </item>
  </channel>
</rss>

