<?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 import data from file *.log from Active Directory to SPLUNK? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-import-data-from-file-log-from-Active-Directory-to-SPLUNK/m-p/131656#M27082</link>
    <description>&lt;P&gt;Somebody probably redefined &lt;CODE&gt;LINE_BREAKER&lt;/CODE&gt; in the global &lt;CODE&gt;props.conf&lt;/CODE&gt; file (either &lt;CODE&gt;$SPLUNK_HOME/etc/system/default/&lt;/CODE&gt; or &lt;CODE&gt;${SPLUNK_HOME}/etc/system/local/&lt;/CODE&gt;).  The &lt;EM&gt;right&lt;/EM&gt; thing to do is to move his global-context configuration changes to an app (context) and then your stuff (&lt;EM&gt;and others in the future&lt;/EM&gt;) will work as they should right out of the box.  Short of that, create an app for your stuff (which you should really do anyway in &lt;CODE&gt;$SPLUNK_HOME/etc/MyApp/default/props.conf&lt;/CODE&gt;) and put this line in it:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;LINE_BREAKER = ([\r\n]+)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Read up on all this here:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.3/Data/Indexmulti-lineevents"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.3/Data/Indexmulti-lineevents&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jun 2015 13:39:06 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-06-01T13:39:06Z</dc:date>
    <item>
      <title>How to import data from file *.log from Active Directory to SPLUNK?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-import-data-from-file-log-from-Active-Directory-to-SPLUNK/m-p/131655#M27081</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;

&lt;P&gt;After uploading Windows Active Directory data from file '.log' to SPLUNK, i recognized that all data is not parsed.&lt;/P&gt;

&lt;P&gt;To be honest- data looks like trash &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; (imported as a one big row_event)&lt;/P&gt;

&lt;P&gt;Any advice how to parse data from log file to let's say format readable from SPLUNK?&lt;BR /&gt;
Maybe you know some scripts or any other way to parse file with extension '.log' to SPLUNK.&lt;/P&gt;

&lt;P&gt;thanks in advance,&lt;/P&gt;

&lt;P&gt;Mateusz&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2015 10:52:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-import-data-from-file-log-from-Active-Directory-to-SPLUNK/m-p/131655#M27081</guid>
      <dc:creator>mazurmateusz</dc:creator>
      <dc:date>2015-06-01T10:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to import data from file *.log from Active Directory to SPLUNK?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-import-data-from-file-log-from-Active-Directory-to-SPLUNK/m-p/131656#M27082</link>
      <description>&lt;P&gt;Somebody probably redefined &lt;CODE&gt;LINE_BREAKER&lt;/CODE&gt; in the global &lt;CODE&gt;props.conf&lt;/CODE&gt; file (either &lt;CODE&gt;$SPLUNK_HOME/etc/system/default/&lt;/CODE&gt; or &lt;CODE&gt;${SPLUNK_HOME}/etc/system/local/&lt;/CODE&gt;).  The &lt;EM&gt;right&lt;/EM&gt; thing to do is to move his global-context configuration changes to an app (context) and then your stuff (&lt;EM&gt;and others in the future&lt;/EM&gt;) will work as they should right out of the box.  Short of that, create an app for your stuff (which you should really do anyway in &lt;CODE&gt;$SPLUNK_HOME/etc/MyApp/default/props.conf&lt;/CODE&gt;) and put this line in it:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;LINE_BREAKER = ([\r\n]+)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Read up on all this here:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.3/Data/Indexmulti-lineevents"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.3/Data/Indexmulti-lineevents&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2015 13:39:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-import-data-from-file-log-from-Active-Directory-to-SPLUNK/m-p/131656#M27082</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-01T13:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to import data from file *.log from Active Directory to SPLUNK?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-import-data-from-file-log-from-Active-Directory-to-SPLUNK/m-p/131657#M27083</link>
      <description>&lt;P&gt;Thanks for answer - I'm going to check this and give back information.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2015 06:45:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-import-data-from-file-log-from-Active-Directory-to-SPLUNK/m-p/131657#M27083</guid>
      <dc:creator>mazurmateusz</dc:creator>
      <dc:date>2015-06-02T06:45:15Z</dc:date>
    </item>
  </channel>
</rss>

