<?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 nxlog output (json in *.log)  and Splunk in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/nxlog-output-json-in-log-and-Splunk/m-p/134525#M27635</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Sysadmins set nxlog syslog to put event logs from windows to external directory.&lt;BR /&gt;
The log format is 'json' with extension *.log&lt;BR /&gt;
My question is how to properly import those data to splunk and index it.&lt;BR /&gt;
Right now SPLUNK don't recognize all fields (like a EventType, EventID, Hostname etc.)&lt;/P&gt;

&lt;P&gt;thanks in advance&lt;/P&gt;

&lt;P&gt;Mateusz&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jun 2015 14:35:29 GMT</pubDate>
    <dc:creator>mazurmateusz</dc:creator>
    <dc:date>2015-06-03T14:35:29Z</dc:date>
    <item>
      <title>nxlog output (json in *.log)  and Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nxlog-output-json-in-log-and-Splunk/m-p/134525#M27635</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Sysadmins set nxlog syslog to put event logs from windows to external directory.&lt;BR /&gt;
The log format is 'json' with extension *.log&lt;BR /&gt;
My question is how to properly import those data to splunk and index it.&lt;BR /&gt;
Right now SPLUNK don't recognize all fields (like a EventType, EventID, Hostname etc.)&lt;/P&gt;

&lt;P&gt;thanks in advance&lt;/P&gt;

&lt;P&gt;Mateusz&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2015 14:35:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nxlog-output-json-in-log-and-Splunk/m-p/134525#M27635</guid>
      <dc:creator>mazurmateusz</dc:creator>
      <dc:date>2015-06-03T14:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: nxlog output (json in *.log)  and Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nxlog-output-json-in-log-and-Splunk/m-p/134526#M27636</link>
      <description>&lt;P&gt;It should be straightforward, just tell splunk to get the &lt;CODE&gt;*.log&lt;/CODE&gt; files with &lt;CODE&gt;inputs.conf&lt;/CODE&gt; and then tell it about &lt;CODE&gt;json&lt;/CODE&gt; like it says here:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/148307/how-to-parse-and-extract-json-log-files-in-splunk.html"&gt;http://answers.splunk.com/answers/148307/how-to-parse-and-extract-json-log-files-in-splunk.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2015 15:58:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nxlog-output-json-in-log-and-Splunk/m-p/134526#M27636</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-03T15:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: nxlog output (json in *.log)  and Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nxlog-output-json-in-log-and-Splunk/m-p/134527#M27637</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I made something like that:&lt;/P&gt;

&lt;P&gt;Add to props.conf:&lt;/P&gt;

&lt;P&gt;[Test_json]&lt;BR /&gt;
INDEXED_EXTRACTIONS = json&lt;BR /&gt;
KV_MODE = none&lt;BR /&gt;
NO_BINARY_CHECK = 1&lt;BR /&gt;
pulldown_type = 1&lt;/P&gt;

&lt;P&gt;and restart SPLUNK&lt;/P&gt;

&lt;P&gt;After restart try to upload file *.log &lt;BR /&gt;
 1. go to settings upload&lt;BR /&gt;
 2. pickup file&lt;BR /&gt;
 3. upload &lt;BR /&gt;
 4. choose Test_json as a source type&lt;BR /&gt;
And then i got preview error which information 'change source type'.&lt;/P&gt;

&lt;P&gt;Do you have any suggestion what i made wrong?&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
M.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:09:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nxlog-output-json-in-log-and-Splunk/m-p/134527#M27637</guid>
      <dc:creator>mazurmateusz</dc:creator>
      <dc:date>2020-09-28T20:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: nxlog output (json in *.log)  and Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nxlog-output-json-in-log-and-Splunk/m-p/134528#M27638</link>
      <description>&lt;P&gt;Before you use it, you need to define the &lt;CODE&gt;sourcetype&lt;/CODE&gt; of &lt;CODE&gt;Test_json&lt;/CODE&gt; by adding it to an &lt;CODE&gt;inputs.conf&lt;/CODE&gt; file (or at the &lt;CODE&gt;set sourcetype&lt;/CODE&gt; stage after &lt;CODE&gt;Add Data&lt;/CODE&gt; when you use the GUI to do a &lt;CODE&gt;New&lt;/CODE&gt; under &lt;CODE&gt;Data Inputs&lt;/CODE&gt; -&amp;gt; &lt;CODE&gt;Files &amp;amp; Directories&lt;/CODE&gt;, if you went that route).&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2015 13:57:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nxlog-output-json-in-log-and-Splunk/m-p/134528#M27638</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-08T13:57:27Z</dc:date>
    </item>
  </channel>
</rss>

