<?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 syslog parsing... in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/syslog-parsing/m-p/107867#M22677</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I need to process a syslog feed, but only keep certain hosts, and throw the rest away. &lt;/P&gt;

&lt;P&gt;I first setup the feed to process syslog and set the host to the incoming device, and everything looks ok. &lt;/P&gt;

&lt;P&gt;However, once I add the piece to parse the syslog, the naming of the host reverts back to the name of the server where the forwarder is running (running a heavy forwarder). I'm not sure why that is happening. Here are my props.conf and transforms.conf:&lt;/P&gt;

&lt;P&gt;props.conf:&lt;BR /&gt;
[euc_syslogdata]&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 32&lt;BR /&gt;
SHOULD_LINEMERGE = False&lt;BR /&gt;
TIME_FORMAT = %b %d %H:%M:%S&lt;BR /&gt;
NO_BINARY_CHECK = 1&lt;BR /&gt;
TRANSFORMs = syslog-host,setnull,setparsing&lt;/P&gt;

&lt;P&gt;transforms.conf:&lt;/P&gt;

&lt;P&gt;[setnull]&lt;BR /&gt;
REGEX = .&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;[setparsing]&lt;BR /&gt;
REGEX = [vc-]&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = indexQueue&lt;/P&gt;

&lt;P&gt;[syslog-host]&lt;BR /&gt;
DEST_KEY = MetaData:Host&lt;BR /&gt;
REGEX = :\d\d\s+(?:\d+\s+|(?:user|daemon|local.?).\w+\s+)*[?(\w[\w.-]{2,})]?\s&lt;BR /&gt;
FORMAT = host::$1&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 13:13:21 GMT</pubDate>
    <dc:creator>a212830</dc:creator>
    <dc:date>2020-09-28T13:13:21Z</dc:date>
    <item>
      <title>syslog parsing...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/syslog-parsing/m-p/107867#M22677</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I need to process a syslog feed, but only keep certain hosts, and throw the rest away. &lt;/P&gt;

&lt;P&gt;I first setup the feed to process syslog and set the host to the incoming device, and everything looks ok. &lt;/P&gt;

&lt;P&gt;However, once I add the piece to parse the syslog, the naming of the host reverts back to the name of the server where the forwarder is running (running a heavy forwarder). I'm not sure why that is happening. Here are my props.conf and transforms.conf:&lt;/P&gt;

&lt;P&gt;props.conf:&lt;BR /&gt;
[euc_syslogdata]&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 32&lt;BR /&gt;
SHOULD_LINEMERGE = False&lt;BR /&gt;
TIME_FORMAT = %b %d %H:%M:%S&lt;BR /&gt;
NO_BINARY_CHECK = 1&lt;BR /&gt;
TRANSFORMs = syslog-host,setnull,setparsing&lt;/P&gt;

&lt;P&gt;transforms.conf:&lt;/P&gt;

&lt;P&gt;[setnull]&lt;BR /&gt;
REGEX = .&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;[setparsing]&lt;BR /&gt;
REGEX = [vc-]&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = indexQueue&lt;/P&gt;

&lt;P&gt;[syslog-host]&lt;BR /&gt;
DEST_KEY = MetaData:Host&lt;BR /&gt;
REGEX = :\d\d\s+(?:\d+\s+|(?:user|daemon|local.?).\w+\s+)*[?(\w[\w.-]{2,})]?\s&lt;BR /&gt;
FORMAT = host::$1&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:13:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/syslog-parsing/m-p/107867#M22677</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2020-09-28T13:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: syslog parsing...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/syslog-parsing/m-p/107868#M22678</link>
      <description>&lt;P&gt;I see  a typo :&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;TRANSFORMs = syslog-host,setnull,setparsing&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;should be&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;TRANSFORMS = syslog-host,setnull,setparsing&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2013 17:38:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/syslog-parsing/m-p/107868#M22678</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2013-02-01T17:38:39Z</dc:date>
    </item>
  </channel>
</rss>

