<?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: Hmail Logfile Help in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Hmail-Logfile-Help/m-p/107110#M10426</link>
    <description>&lt;P&gt;The direction of your slash is wrong. It should be a backslash, not a forward slash.&lt;/P&gt;

&lt;P&gt;Also, these settings go as a transform in &lt;CODE&gt;transforms.conf&lt;/CODE&gt;. This transform is then &lt;EM&gt;referred to&lt;/EM&gt; from props.conf. Something like this.&lt;/P&gt;

&lt;P&gt;props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[smtp]
REPORT-smtp = getsmtpfields
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[getsmtpfields]
DELIMS = "\t"
FIELDS = Type,Number,MSG_ID,Date,IP,MSG
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 24 Jul 2012 18:13:32 GMT</pubDate>
    <dc:creator>Ayn</dc:creator>
    <dc:date>2012-07-24T18:13:32Z</dc:date>
    <item>
      <title>Hmail Logfile Help</title>
      <link>https://community.splunk.com/t5/Reporting/Hmail-Logfile-Help/m-p/107109#M10425</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I need to take this type of one line log entries and format them&lt;/P&gt;

&lt;P&gt;"SMTPD" 2056    32922   "2012-07-24 13:01:00.097"   "172.0.0.1" "SENT: 220 blah.com ESMTP"&lt;/P&gt;

&lt;P&gt;I think those are tabs.&lt;/P&gt;

&lt;P&gt;I want splunk to create table with the following fields/columns anytime an eventsource="SMTP"&lt;BR /&gt;
FIELDS = Type,Number,MSG_ID,Date,IP,Message&lt;/P&gt;

&lt;P&gt;I tried putting this in props.conf&lt;BR /&gt;
[smtp]&lt;BR /&gt;
DELIMS = "/t"&lt;BR /&gt;
FIELDS = Type,Number,MSG_ID,Date,IP,MSG&lt;/P&gt;

&lt;P&gt;This is a windows installation.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jul 2012 18:09:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Hmail-Logfile-Help/m-p/107109#M10425</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2012-07-24T18:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Hmail Logfile Help</title>
      <link>https://community.splunk.com/t5/Reporting/Hmail-Logfile-Help/m-p/107110#M10426</link>
      <description>&lt;P&gt;The direction of your slash is wrong. It should be a backslash, not a forward slash.&lt;/P&gt;

&lt;P&gt;Also, these settings go as a transform in &lt;CODE&gt;transforms.conf&lt;/CODE&gt;. This transform is then &lt;EM&gt;referred to&lt;/EM&gt; from props.conf. Something like this.&lt;/P&gt;

&lt;P&gt;props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[smtp]
REPORT-smtp = getsmtpfields
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[getsmtpfields]
DELIMS = "\t"
FIELDS = Type,Number,MSG_ID,Date,IP,MSG
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 24 Jul 2012 18:13:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Hmail-Logfile-Help/m-p/107110#M10426</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-07-24T18:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Hmail Logfile Help</title>
      <link>https://community.splunk.com/t5/Reporting/Hmail-Logfile-Help/m-p/107111#M10427</link>
      <description>&lt;P&gt;Just to add to this, i still had to add the table command to my search "table Type,Number,MSG_ID,Date,IP,MSG" and then i got exactly what I was looking for.  Couldnt have done it without Ayn though.  Thanks Ayn!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jul 2012 18:25:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Hmail-Logfile-Help/m-p/107111#M10427</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2012-07-24T18:25:49Z</dc:date>
    </item>
  </channel>
</rss>

