<?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 After editing inputs.config on forwarder data shows up unreadable in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/After-editing-inputs-config-on-forwarder-data-shows-up/m-p/362267#M7148</link>
    <description>&lt;P&gt;Hi i edited the inputs.cinfig file on my forwarder and once i restart splunk etc i see the data on search but it is not readeble. can anyone tell me what i am doing wrong?&lt;/P&gt;

&lt;P&gt;[default]&lt;BR /&gt;
host = xxxxxxx&lt;/P&gt;

&lt;P&gt;[monitor://C:\Windows\System32\winevt\Logs*]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
index=xxxxxx&lt;BR /&gt;
followTail = 0&lt;BR /&gt;
sourcetype = sync&lt;/P&gt;

&lt;P&gt;i have all the other data coming in fine.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3567iE252FDEE175257E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Sep 2017 17:34:02 GMT</pubDate>
    <dc:creator>carlyleadmin</dc:creator>
    <dc:date>2017-09-29T17:34:02Z</dc:date>
    <item>
      <title>After editing inputs.config on forwarder data shows up unreadable</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/After-editing-inputs-config-on-forwarder-data-shows-up/m-p/362267#M7148</link>
      <description>&lt;P&gt;Hi i edited the inputs.cinfig file on my forwarder and once i restart splunk etc i see the data on search but it is not readeble. can anyone tell me what i am doing wrong?&lt;/P&gt;

&lt;P&gt;[default]&lt;BR /&gt;
host = xxxxxxx&lt;/P&gt;

&lt;P&gt;[monitor://C:\Windows\System32\winevt\Logs*]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
index=xxxxxx&lt;BR /&gt;
followTail = 0&lt;BR /&gt;
sourcetype = sync&lt;/P&gt;

&lt;P&gt;i have all the other data coming in fine.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3567iE252FDEE175257E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 17:34:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/After-editing-inputs-config-on-forwarder-data-shows-up/m-p/362267#M7148</guid>
      <dc:creator>carlyleadmin</dc:creator>
      <dc:date>2017-09-29T17:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: After editing inputs.config on forwarder data shows up unreadable</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/After-editing-inputs-config-on-forwarder-data-shows-up/m-p/362268#M7149</link>
      <description>&lt;P&gt;Hi Carlyleadmin!&lt;/P&gt;

&lt;P&gt;Monitoring evtx files can be tricky.&lt;/P&gt;

&lt;P&gt;Please review &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Data/MonitorWindowseventlogdata#Constraints"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Data/MonitorWindowseventlogdata#Constraints&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I believe the issue here is the sourcetype. There is a specific sourcetype for evtx. &lt;/P&gt;

&lt;P&gt;from &lt;CODE&gt;$SPLUNK_HOME/etc/system/default/props.conf&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::....(?i)(evt|evtx)(.\d+)?]
sourcetype = preprocess-winevt
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = false
MAX_TIMESTAMP_LOOKAHEAD=30
LINE_BREAKER = ([\r\n](?=\d{2}/\d{2}/\d{4} \d{2}:\d{2}:\d{2} [aApPmM]{2}))
REPORT-MESSAGE = wel-message, wel-eq-kv, wel-col-kv

[preprocess-winevt]
invalid_cause = winevt
is_valid = False
LEARN_MODEL = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;what was the change you made? the sourcetype?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 18:48:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/After-editing-inputs-config-on-forwarder-data-shows-up/m-p/362268#M7149</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2017-09-29T18:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: After editing inputs.config on forwarder data shows up unreadable</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/After-editing-inputs-config-on-forwarder-data-shows-up/m-p/362269#M7150</link>
      <description>&lt;P&gt;Hey Mmodestino,&lt;/P&gt;

&lt;P&gt;Instead of initially monitoring the application files thru the installation of UF i wanted to skip that part and try to monitor winevnt log files by editing the inputs file.&lt;/P&gt;

&lt;P&gt;i gave it sourcetype name as "sync" and used an indexer i created,mainly becuase i did not want to put win event files  in main index because i have other windows event log files being written there from another machine.&lt;BR /&gt;
so i uninstalled UF and on initial installation i selected to monitor application log files thru WMI.now it is working.but those files are going into "main" index,i guess i can move them to another index,right?i will try that&lt;/P&gt;

&lt;P&gt;thanks for the quick reply&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 18:58:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/After-editing-inputs-config-on-forwarder-data-shows-up/m-p/362269#M7150</guid>
      <dc:creator>carlyleadmin</dc:creator>
      <dc:date>2017-09-29T18:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: After editing inputs.config on forwarder data shows up unreadable</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/After-editing-inputs-config-on-forwarder-data-shows-up/m-p/362270#M7151</link>
      <description>&lt;P&gt;So, the &lt;CODE&gt;index=xxxxx&lt;/CODE&gt; setting in inputs.conf you shared above is how you control with index the data will go to. the sourcetype tells Splunk how to parse the data. Thats why I think the data was messed up above, because winevent logs are not regular flat files. &lt;/P&gt;

&lt;P&gt;Are these exported, historical windows event logs? (i assumed they were) or the live logs on the machine? If it is the actual local logs I would suggest the UF is the way you want to go and use the wineventlog input.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/SplunkCloud/6.6.1/Data/MonitorWindowseventlogdata"&gt;http://docs.splunk.com/Documentation/SplunkCloud/6.6.1/Data/MonitorWindowseventlogdata&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.0/admin/Inputsconf#Windows_Event_Log_Monitor"&gt;http://docs.splunk.com/Documentation/Splunk/6.6.0/admin/Inputsconf#Windows_Event_Log_Monitor&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;WMI is not the first thing I'd go to for monitoring windows, but it depends on what you are tying to do....&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 21:10:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/After-editing-inputs-config-on-forwarder-data-shows-up/m-p/362270#M7151</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2017-09-29T21:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: After editing inputs.config on forwarder data shows up unreadable</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/After-editing-inputs-config-on-forwarder-data-shows-up/m-p/362271#M7152</link>
      <description>&lt;P&gt;hey carlyeadmin, what ended up working for you?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 12:38:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/After-editing-inputs-config-on-forwarder-data-shows-up/m-p/362271#M7152</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2017-10-02T12:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: After editing inputs.config on forwarder data shows up unreadable</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/After-editing-inputs-config-on-forwarder-data-shows-up/m-p/362272#M7153</link>
      <description>&lt;P&gt;you are right mmodestino, they are historical data but like you said it is because they are winevent logs and they are not regular files it was showing messed up.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 12:41:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/After-editing-inputs-config-on-forwarder-data-shows-up/m-p/362272#M7153</guid>
      <dc:creator>carlyleadmin</dc:creator>
      <dc:date>2017-10-02T12:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: After editing inputs.config on forwarder data shows up unreadable</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/After-editing-inputs-config-on-forwarder-data-shows-up/m-p/362273#M7154</link>
      <description>&lt;P&gt;well i uninstalled my UF and reinstalled it and pointed out to monitor Application logs from the install,instead of editing inputs.conf  manually later on.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 12:45:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/After-editing-inputs-config-on-forwarder-data-shows-up/m-p/362273#M7154</guid>
      <dc:creator>carlyleadmin</dc:creator>
      <dc:date>2017-10-02T12:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: After editing inputs.config on forwarder data shows up unreadable</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/After-editing-inputs-config-on-forwarder-data-shows-up/m-p/362274#M7155</link>
      <description>&lt;P&gt;cool glad you got it working!&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 13:01:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/After-editing-inputs-config-on-forwarder-data-shows-up/m-p/362274#M7155</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2017-10-02T13:01:02Z</dc:date>
    </item>
  </channel>
</rss>

