<?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: host_regex syntax for SMB share? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/host-regex-syntax-for-SMB-share/m-p/101658#M21315</link>
    <description>&lt;P&gt;Since the messageboard seems to be rather moody today, I'm having trouble writing HTML-specific characters at the moment, like &amp;lt; or &amp;gt;, so here goes.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;\[monitor\:\/+\\+&lt;/CODE&gt;(?&amp;lt; HOST &amp;gt;&lt;CODE&gt;[^\\]+)\\&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;You'd have to remove the spaces surrounding HOST..&lt;/P&gt;

&lt;P&gt;or perhaps, even simpler&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;\\{2}(?&lt;/CODE&gt;&amp;lt; &lt;CODE&gt;host&lt;/CODE&gt; &amp;gt;&lt;CODE&gt;[^\\]+)\\&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;Kristian&lt;/P&gt;</description>
    <pubDate>Tue, 27 Mar 2012 05:54:15 GMT</pubDate>
    <dc:creator>kristian_kolb</dc:creator>
    <dc:date>2012-03-27T05:54:15Z</dc:date>
    <item>
      <title>host_regex syntax for SMB share?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/host-regex-syntax-for-SMB-share/m-p/101657#M21314</link>
      <description>&lt;P&gt;I need a syntax example for host_regex to pull the hostname out of a share like the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://\\norcal_server\c$\Windows\System32\LogFiles]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Mar 2012 04:00:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/host-regex-syntax-for-SMB-share/m-p/101657#M21314</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2012-03-27T04:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: host_regex syntax for SMB share?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/host-regex-syntax-for-SMB-share/m-p/101658#M21315</link>
      <description>&lt;P&gt;Since the messageboard seems to be rather moody today, I'm having trouble writing HTML-specific characters at the moment, like &amp;lt; or &amp;gt;, so here goes.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;\[monitor\:\/+\\+&lt;/CODE&gt;(?&amp;lt; HOST &amp;gt;&lt;CODE&gt;[^\\]+)\\&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;You'd have to remove the spaces surrounding HOST..&lt;/P&gt;

&lt;P&gt;or perhaps, even simpler&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;\\{2}(?&lt;/CODE&gt;&amp;lt; &lt;CODE&gt;host&lt;/CODE&gt; &amp;gt;&lt;CODE&gt;[^\\]+)\\&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;Kristian&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2012 05:54:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/host-regex-syntax-for-SMB-share/m-p/101658#M21315</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2012-03-27T05:54:15Z</dc:date>
    </item>
  </channel>
</rss>

