<?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: Forwarded log data is not being parsed correctly. Is there something wrong with my current configuration setup? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Forwarded-log-data-is-not-being-parsed-correctly-Is-there/m-p/141933#M29067</link>
    <description>&lt;P&gt;I changed props.conf on the search head to KV_MODE=AUTO, restarted splunkd but it still doesn't extract the fields.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Dec 2014 21:41:28 GMT</pubDate>
    <dc:creator>shailesh030</dc:creator>
    <dc:date>2014-12-02T21:41:28Z</dc:date>
    <item>
      <title>Forwarded log data is not being parsed correctly. Is there something wrong with my current configuration setup?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarded-log-data-is-not-being-parsed-correctly-Is-there/m-p/141931#M29065</link>
      <description>&lt;P&gt;Hi!,&lt;/P&gt;

&lt;P&gt;I have a splunk setup in which log files are being forwarded by an universal forwarder to an indexer and a search head is being used to perform the search&lt;BR /&gt;
I have keeping the configuration files in etc/apps/app123/local in searchhead and indexer respectively.&lt;BR /&gt;
Following are the contents of my configuration files:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;On the universal forwarder:&lt;/STRONG&gt;&lt;BR /&gt;
&lt;STRONG&gt;&lt;EM&gt;inputs.conf (in apps/local)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;[monitor:///home/abc/appLogs.txt]&lt;BR /&gt;
sourcetype = applogs&lt;BR /&gt;
blacklist = .(gz)$&lt;BR /&gt;
index=main&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;On the search head:&lt;/STRONG&gt;&lt;BR /&gt;
&lt;STRONG&gt;&lt;EM&gt;props.conf&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;[applogs]&lt;BR /&gt;
REPORT-parse_server=applogs&lt;BR /&gt;
KV_MODE=none&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;[applogs]&lt;BR /&gt;
DELIMS = "~"&lt;BR /&gt;
FIELDS = "Text","device_name","domain_name","OperationName","txn_id","time_stamp","FAULT","FaultCode"&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;On the indexer:&lt;/STRONG&gt;&lt;BR /&gt;
&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;[applogs]&lt;BR /&gt;
TIMESTAMP_FIELDS = StartTimeStamp,ExitTimeStamp,App1StartTimeStamp&lt;BR /&gt;
NO_BINARY_CHECK=1&lt;BR /&gt;
SHOULD_LINEMERGE=false&lt;BR /&gt;
TIME_FORMAT=%b %d %H:%M:%S&lt;BR /&gt;
TIME_PREFIX=^&lt;BR /&gt;
TZ=UTC&lt;BR /&gt;
TRUNCATE=300000&lt;BR /&gt;
pulldown_type = 1&lt;/P&gt;

&lt;P&gt;In the search head UI raw data, I can see the events being indexed with the correct sourcetype but they are not being mapped to fields given in transforms.conf&lt;/P&gt;

&lt;P&gt;I have ran btool against each of the config files &amp;amp; no issues were found. The config files are only in apps &amp;amp; none in system/local so it can't be a precedence issue.&lt;BR /&gt;
I also tried by putting all configurations (props + transforms) into props.conf and keeping them in etc/app/local in searchhead and indexer.&lt;/P&gt;

&lt;P&gt;I am not able to figure out what am I missing or where am I going wrong.&lt;BR /&gt;
Any help will be highly appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:18:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarded-log-data-is-not-being-parsed-correctly-Is-there/m-p/141931#M29065</guid>
      <dc:creator>shailesh030</dc:creator>
      <dc:date>2020-09-28T18:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarded log data is not being parsed correctly. Is there something wrong with my current configuration setup?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarded-log-data-is-not-being-parsed-correctly-Is-there/m-p/141932#M29066</link>
      <description>&lt;P&gt;Have you tried setting KV_MODE = AUTO? Setting it to NONE disables field extraction for that sourcetype. &lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2014 21:07:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarded-log-data-is-not-being-parsed-correctly-Is-there/m-p/141932#M29066</guid>
      <dc:creator>RicoSuave</dc:creator>
      <dc:date>2014-12-02T21:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarded log data is not being parsed correctly. Is there something wrong with my current configuration setup?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarded-log-data-is-not-being-parsed-correctly-Is-there/m-p/141933#M29067</link>
      <description>&lt;P&gt;I changed props.conf on the search head to KV_MODE=AUTO, restarted splunkd but it still doesn't extract the fields.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2014 21:41:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarded-log-data-is-not-being-parsed-correctly-Is-there/m-p/141933#M29067</guid>
      <dc:creator>shailesh030</dc:creator>
      <dc:date>2014-12-02T21:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarded log data is not being parsed correctly. Is there something wrong with my current configuration setup?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarded-log-data-is-not-being-parsed-correctly-Is-there/m-p/141934#M29068</link>
      <description>&lt;P&gt;Oh, try DELIMS = ","&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2014 21:55:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarded-log-data-is-not-being-parsed-correctly-Is-there/m-p/141934#M29068</guid>
      <dc:creator>RicoSuave</dc:creator>
      <dc:date>2014-12-02T21:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarded log data is not being parsed correctly. Is there something wrong with my current configuration setup?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarded-log-data-is-not-being-parsed-correctly-Is-there/m-p/141935#M29069</link>
      <description>&lt;P&gt;But my log data is delimited by tilda "~" . Nevertheless, I tried changed the ~ to "," in DELIMS in transforms.conf and it still didn't work.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2014 22:12:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarded-log-data-is-not-being-parsed-correctly-Is-there/m-p/141935#M29069</guid>
      <dc:creator>shailesh030</dc:creator>
      <dc:date>2014-12-02T22:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarded log data is not being parsed correctly. Is there something wrong with my current configuration setup?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarded-log-data-is-not-being-parsed-correctly-Is-there/m-p/141936#M29070</link>
      <description>&lt;P&gt;Can you post a sample of the applogs events?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2014 22:15:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarded-log-data-is-not-being-parsed-correctly-Is-there/m-p/141936#M29070</guid>
      <dc:creator>RicoSuave</dc:creator>
      <dc:date>2014-12-02T22:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarded log data is not being parsed correctly. Is there something wrong with my current configuration setup?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarded-log-data-is-not-being-parsed-correctly-Is-there/m-p/141937#M29071</link>
      <description>&lt;P&gt;Thanks Joetron .. here are some of the applogs events. Each event is in one line&lt;/P&gt;

&lt;P&gt;Aug  4 07:02:43 ABC-XY12345-Default [XYZ][123][xsltmsg][info] #ABCD-IN#~XY12345~ALPHA~GCP~55403201~2014-08-04 07:02:43~FAULT~12345&lt;BR /&gt;
Aug  4 07:02:44 ABC-XY22345-Default [XYZ][123][xsltmsg][info] #ABCD-IN#~XY22345~ALPHA~GCP~65403201~2014-08-04 07:02:44~FAULT~12346&lt;BR /&gt;
Aug  4 07:02:45 ABC-XY32345-Default [XYZ][123][xsltmsg][info] #ABCD-IN#~XY32345~ALPHA~GCP~75403201~2014-08-04 07:02:45~FAULT~12347&lt;BR /&gt;
Aug  4 07:02:46 ABC-XY42345-Default [XYZ][123][xsltmsg][info] #ABCD-IN#~XY42345~ALPHA~GCP~85403201~2014-08-04 07:02:46~FAULT~12348&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2014 22:24:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarded-log-data-is-not-being-parsed-correctly-Is-there/m-p/141937#M29071</guid>
      <dc:creator>shailesh030</dc:creator>
      <dc:date>2014-12-02T22:24:25Z</dc:date>
    </item>
  </channel>
</rss>

