<?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 Weblogic 10.x logs for datasource in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Weblogic-10-x-logs-for-datasource/m-p/25985#M4252</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I'm trying to add weblogic 10.3 log files to indexer and I'm struggling to get the timestamp parsed correctly. I'm new to Splunk so may need little bit of more step-through/concept help so please ignore my lack of understanding.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;I add the data via local log file. Its more for ad-hoc analysis at this point.. will get to forwarder later!&lt;/LI&gt;
&lt;LI&gt;I specify source type as log4j&lt;/LI&gt;
&lt;LI&gt;In the preview srceen the dates don't match as well as the timestamp is wrong compared to data in log messages.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;My log file has data like this&lt;/P&gt;

&lt;H4&gt;&amp;lt;13/08/2012 12:00:14 AM EST&amp;gt; &lt;ERROR&gt; &lt;NET&gt; &lt;SERVERNAMEV01&gt; &lt;ES25-N1&gt; &amp;lt;[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'&amp;gt; &amp;lt;&lt;WLS kernel=""&gt;&amp;gt; &amp;lt;&amp;gt; &amp;lt;&amp;gt; &amp;lt;1344175214433&amp;gt; &lt;BEA-000903&gt; &amp;lt;Failed to communicate with proxy: xx.xx.xx.xxx/8080. Will try connection xx.xx.xx.xxx/8081 now.&lt;/BEA-000903&gt;&lt;/WLS&gt;&lt;/ES25-N1&gt;&lt;/SERVERNAMEV01&gt;&lt;/NET&gt;&lt;/ERROR&gt;&lt;/H4&gt;

&lt;P&gt;The parsing/output in Preview looks like this&lt;BR /&gt;
8/6/12 3:00:14.000 PM   ####&amp;lt;13/08/2012 12:00:14 AM EST&amp;gt; &lt;/P&gt;

&lt;P&gt;As you can see the parsing of the date time isn't working and I get an exclamation mark in preview complaining about 'could not use strptime to parse the timestamp...'&lt;/P&gt;

&lt;P&gt;currently applied settings looks like this in preview page:&lt;/P&gt;

&lt;P&gt;NO_BINARY_CHECK=1&lt;BR /&gt;
&lt;BR /&gt;TIME_FORMAT=%d/%m/%Y %I:%M:%S %p&lt;BR /&gt;
&lt;BR /&gt;TZ=Australia/Melbourne&lt;/P&gt;

&lt;P&gt;These previous posts dont work and complains about syntax at startup time.&lt;BR /&gt;
&lt;A href="http://splunk-base.splunk.com/answers/8142/how-do-i-extract-useful-information-into-fields-from-oracle-weblogic-application-server-logs" target="_blank"&gt;http://splunk-base.splunk.com/answers/8142/how-do-i-extract-useful-information-into-fields-from-oracle-weblogic-application-server-logs&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Any help would be appreciated...&lt;/P&gt;

&lt;P&gt;Thanks heaps,&lt;BR /&gt;
Parth&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 12:12:01 GMT</pubDate>
    <dc:creator>pandyaparth</dc:creator>
    <dc:date>2020-09-28T12:12:01Z</dc:date>
    <item>
      <title>Weblogic 10.x logs for datasource</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Weblogic-10-x-logs-for-datasource/m-p/25985#M4252</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I'm trying to add weblogic 10.3 log files to indexer and I'm struggling to get the timestamp parsed correctly. I'm new to Splunk so may need little bit of more step-through/concept help so please ignore my lack of understanding.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;I add the data via local log file. Its more for ad-hoc analysis at this point.. will get to forwarder later!&lt;/LI&gt;
&lt;LI&gt;I specify source type as log4j&lt;/LI&gt;
&lt;LI&gt;In the preview srceen the dates don't match as well as the timestamp is wrong compared to data in log messages.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;My log file has data like this&lt;/P&gt;

&lt;H4&gt;&amp;lt;13/08/2012 12:00:14 AM EST&amp;gt; &lt;ERROR&gt; &lt;NET&gt; &lt;SERVERNAMEV01&gt; &lt;ES25-N1&gt; &amp;lt;[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'&amp;gt; &amp;lt;&lt;WLS kernel=""&gt;&amp;gt; &amp;lt;&amp;gt; &amp;lt;&amp;gt; &amp;lt;1344175214433&amp;gt; &lt;BEA-000903&gt; &amp;lt;Failed to communicate with proxy: xx.xx.xx.xxx/8080. Will try connection xx.xx.xx.xxx/8081 now.&lt;/BEA-000903&gt;&lt;/WLS&gt;&lt;/ES25-N1&gt;&lt;/SERVERNAMEV01&gt;&lt;/NET&gt;&lt;/ERROR&gt;&lt;/H4&gt;

&lt;P&gt;The parsing/output in Preview looks like this&lt;BR /&gt;
8/6/12 3:00:14.000 PM   ####&amp;lt;13/08/2012 12:00:14 AM EST&amp;gt; &lt;/P&gt;

&lt;P&gt;As you can see the parsing of the date time isn't working and I get an exclamation mark in preview complaining about 'could not use strptime to parse the timestamp...'&lt;/P&gt;

&lt;P&gt;currently applied settings looks like this in preview page:&lt;/P&gt;

&lt;P&gt;NO_BINARY_CHECK=1&lt;BR /&gt;
&lt;BR /&gt;TIME_FORMAT=%d/%m/%Y %I:%M:%S %p&lt;BR /&gt;
&lt;BR /&gt;TZ=Australia/Melbourne&lt;/P&gt;

&lt;P&gt;These previous posts dont work and complains about syntax at startup time.&lt;BR /&gt;
&lt;A href="http://splunk-base.splunk.com/answers/8142/how-do-i-extract-useful-information-into-fields-from-oracle-weblogic-application-server-logs" target="_blank"&gt;http://splunk-base.splunk.com/answers/8142/how-do-i-extract-useful-information-into-fields-from-oracle-weblogic-application-server-logs&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Any help would be appreciated...&lt;/P&gt;

&lt;P&gt;Thanks heaps,&lt;BR /&gt;
Parth&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:12:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Weblogic-10-x-logs-for-datasource/m-p/25985#M4252</guid>
      <dc:creator>pandyaparth</dc:creator>
      <dc:date>2020-09-28T12:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Weblogic 10.x logs for datasource</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Weblogic-10-x-logs-for-datasource/m-p/25986#M4253</link>
      <description>&lt;P&gt;Hi,I am alse new to Splunk.&lt;BR /&gt;
I meet the same problem with _time can't mapping with a true log time.&lt;BR /&gt;
My solution is as below&lt;BR /&gt;
First:&lt;BR /&gt;
I go to WLS Server--&amp;gt;server--&amp;gt;your server name--&amp;gt;logging--&amp;gt;advanced--&amp;gt;Date Format Pattern&lt;BR /&gt;
I change it from yyyy/M/d ahh'時'mm'分'ss'秒' z to yyyy/M/d HH'-'mm'-'ss'-' z&lt;/P&gt;

&lt;P&gt;Two:&lt;BR /&gt;
When I restart WLS Server,and I go to Splunk Sever to new a field with name log_time.&lt;BR /&gt;
pattern like&lt;BR /&gt;
log_time=2014/11/24 15-32-50&lt;/P&gt;

&lt;P&gt;Now you can use log_time to search your wls_log like&lt;BR /&gt;
host=Peter-PC log_time&amp;gt;"2014/11/23 11-00-00", you can get the event occur after 2014/11/23 11-00-00&lt;/P&gt;

&lt;P&gt;I wish this can help you.&lt;/P&gt;

&lt;P&gt;by Peter&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:16:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Weblogic-10-x-logs-for-datasource/m-p/25986#M4253</guid>
      <dc:creator>PeterChu</dc:creator>
      <dc:date>2020-09-28T18:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Weblogic 10.x logs for datasource</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Weblogic-10-x-logs-for-datasource/m-p/25987#M4254</link>
      <description>&lt;P&gt;I find something could be better.&lt;BR /&gt;
The same way to change date format pattern on weblogic console log config&lt;BR /&gt;
change it to yy/M/d HH':'mm':'ss like as  14/12/12 16:52:09&lt;/P&gt;

&lt;P&gt;Then Splunk can parse this pattern to _time default field correct.&lt;BR /&gt;
So you can use _time to search and don't need to define a log_time field.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:21:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Weblogic-10-x-logs-for-datasource/m-p/25987#M4254</guid>
      <dc:creator>PeterChu</dc:creator>
      <dc:date>2020-09-28T18:21:49Z</dc:date>
    </item>
  </channel>
</rss>

