<?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 Modular input validation Introspection in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Modular-input-validation-Introspection/m-p/105575#M22241</link>
    <description>&lt;P&gt;Hello, I can't seem to get my validation using match.    Hoping some one can tell me what I am doing wrong or missing.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
&amp;lt;arg name="name"&amp;gt;&lt;BR /&gt;
    &amp;lt;title&amp;gt;Device Name or IP&amp;lt;/title&amp;gt;&lt;BR /&gt;
    &amp;lt;description&amp;gt;FQDN or IP Address.  For example, 10.1.173.1 or INTFW-ASA700-vc.MYDomain.net.&lt;BR /&gt;
    &amp;lt;/description&amp;gt;&lt;BR /&gt;
    &amp;lt;validation&amp;gt;&lt;BR /&gt;
    validate(match('name', '^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]).){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])$'), "Device Name or IP: invalid DNS or IP")&lt;BR /&gt;
    &amp;lt;/validation&amp;gt;&lt;BR /&gt;
&amp;lt;/arg&amp;gt;&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Wed, 24 Apr 2013 22:07:11 GMT</pubDate>
    <dc:creator>bmacias84</dc:creator>
    <dc:date>2013-04-24T22:07:11Z</dc:date>
    <item>
      <title>Modular input validation Introspection</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Modular-input-validation-Introspection/m-p/105575#M22241</link>
      <description>&lt;P&gt;Hello, I can't seem to get my validation using match.    Hoping some one can tell me what I am doing wrong or missing.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
&amp;lt;arg name="name"&amp;gt;&lt;BR /&gt;
    &amp;lt;title&amp;gt;Device Name or IP&amp;lt;/title&amp;gt;&lt;BR /&gt;
    &amp;lt;description&amp;gt;FQDN or IP Address.  For example, 10.1.173.1 or INTFW-ASA700-vc.MYDomain.net.&lt;BR /&gt;
    &amp;lt;/description&amp;gt;&lt;BR /&gt;
    &amp;lt;validation&amp;gt;&lt;BR /&gt;
    validate(match('name', '^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]).){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])$'), "Device Name or IP: invalid DNS or IP")&lt;BR /&gt;
    &amp;lt;/validation&amp;gt;&lt;BR /&gt;
&amp;lt;/arg&amp;gt;&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2013 22:07:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Modular-input-validation-Introspection/m-p/105575#M22241</guid>
      <dc:creator>bmacias84</dc:creator>
      <dc:date>2013-04-24T22:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Modular input validation Introspection</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Modular-input-validation-Introspection/m-p/105576#M22242</link>
      <description>&lt;P&gt;try this&lt;/P&gt;

&lt;P&gt;(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)&lt;/P&gt;

&lt;P&gt;gladly taken from&lt;BR /&gt;
&lt;A href="http://stackoverflow.com/questions/4011855/regexp-to-check-if-an-ip-is-valid"&gt;http://stackoverflow.com/questions/4011855/regexp-to-check-if-an-ip-is-valid&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2013 16:49:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Modular-input-validation-Introspection/m-p/105576#M22242</guid>
      <dc:creator>jguarini</dc:creator>
      <dc:date>2013-05-29T16:49:57Z</dc:date>
    </item>
  </channel>
</rss>

