<?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: Regex evaluating new line carriage ? in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/regex-evaluating-new-line-carriage/m-p/15627#M406</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steven, Thank you for helping me on this query, I have followed the document and still no success. I also tried \n or \s for a new line carriage. The case no# 301775 is for your reference, the attached pcap file is the actual output from the customer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Mar 2015 21:37:55 GMT</pubDate>
    <dc:creator>smalayappan</dc:creator>
    <dc:date>2015-03-17T21:37:55Z</dc:date>
    <item>
      <title>Regex evaluating new line carriage ?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/regex-evaluating-new-line-carriage/m-p/15625#M404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Splunk server that logs all Acitve Directory authentication events on my network. I have set up a syslog feed from the Splunk server to the Palo Alto. On the Palo Alto, I have created a syslog filter and added the Splunk as a User-ID syslog server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I have is that Splunk sends each logon event as a single syslog entry which contains carriage returns and new lines (\r and \n). From what I can tell, the Palo Alto to expects to receive each user/IP pair in a single line. This means that I cannot parse the syslog to extract the info as user ID and IP are on different lines within a single syslog entry. Any thoughts on this will be of much assistance to me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you. Ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Mar 2015 01:08:17 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/regex-evaluating-new-line-carriage/m-p/15625#M404</guid>
      <dc:creator>smalayappan</dc:creator>
      <dc:date>2015-03-14T01:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Regex evaluating new line carriage ?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/regex-evaluating-new-line-carriage/m-p/15626#M405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you show a sample log entry that will be parsed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume you have seen these general instructions on how to create the parser for syslog here.&amp;nbsp; Are the new line CR used as delimiters for a particular field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://live.paloaltonetworks.com/docs/DOC-6664"&gt;How to Configure a Custom Syslog Sender and Test User Mappings&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 20:23:03 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/regex-evaluating-new-line-carriage/m-p/15626#M405</guid>
      <dc:creator>pulukas</dc:creator>
      <dc:date>2015-03-17T20:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Regex evaluating new line carriage ?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/regex-evaluating-new-line-carriage/m-p/15627#M406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steven, Thank you for helping me on this query, I have followed the document and still no success. I also tried \n or \s for a new line carriage. The case no# 301775 is for your reference, the attached pcap file is the actual output from the customer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 21:37:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/regex-evaluating-new-line-carriage/m-p/15627#M406</guid>
      <dc:creator>smalayappan</dc:creator>
      <dc:date>2015-03-17T21:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Regex evaluating new line carriage ?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/regex-evaluating-new-line-carriage/m-p/15628#M407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad to hear you have a support engineer working the case.&amp;nbsp; I'm just a PA customer, so I don't have access that system.&amp;nbsp; But I'm sure if support has a pcap of the logs a good parser will be coming shortly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And support for Splunk in user-id will be a big win.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 10:20:37 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/regex-evaluating-new-line-carriage/m-p/15628#M407</guid>
      <dc:creator>pulukas</dc:creator>
      <dc:date>2015-03-18T10:20:37Z</dc:date>
    </item>
  </channel>
</rss>

