<?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: Inputs.conf in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Inputs-conf/m-p/25482#M4154</link>
    <description>&lt;P&gt;These are known as anchors. They do not match any characters, they match a position. ^ matches at the start of the string, and $ matches at the end of the string.&lt;/P&gt;

&lt;P&gt;Be careful though. In multiline strings, they can also match the beginning or end of a line and the ^ inside a square bracket can be used as a not as in [^a-z] which means not the characters a to z&lt;/P&gt;</description>
    <pubDate>Wed, 30 Nov 2011 17:53:21 GMT</pubDate>
    <dc:creator>BobM</dc:creator>
    <dc:date>2011-11-30T17:53:21Z</dc:date>
    <item>
      <title>Inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Inputs-conf/m-p/25481#M4153</link>
      <description>&lt;P&gt;I have this in my inputs.conf&lt;/P&gt;

&lt;P&gt;_whitelist=(\.log|log$|^messages|^secure|mesg$|cron$|acpid$|\.out)&lt;/P&gt;

&lt;P&gt;Can anyone help me understand what are the " ^ " and the " $ " are used for?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2011 17:32:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Inputs-conf/m-p/25481#M4153</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2011-11-30T17:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Inputs-conf/m-p/25482#M4154</link>
      <description>&lt;P&gt;These are known as anchors. They do not match any characters, they match a position. ^ matches at the start of the string, and $ matches at the end of the string.&lt;/P&gt;

&lt;P&gt;Be careful though. In multiline strings, they can also match the beginning or end of a line and the ^ inside a square bracket can be used as a not as in [^a-z] which means not the characters a to z&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2011 17:53:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Inputs-conf/m-p/25482#M4154</guid>
      <dc:creator>BobM</dc:creator>
      <dc:date>2011-11-30T17:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Inputs-conf/m-p/25483#M4155</link>
      <description>&lt;P&gt;Thanks Bob,&lt;/P&gt;

&lt;P&gt;I think I know what this is&lt;/P&gt;

&lt;P&gt;can you tell me what the difference is in these two lines&lt;/P&gt;

&lt;P&gt;whitelist=(\.log|log$|messages|secure|auth|mesg$|cron$|acpid$|\.out)&lt;/P&gt;

&lt;P&gt;_whitelist=(\.log|log$|^messages|^secure|mesg$|cron$|acpid$|\.out)&lt;/P&gt;

&lt;P&gt;These are on two different systems and I am not getting the same logs from both&lt;/P&gt;

&lt;P&gt;Should I take out the " ^ " symbol?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2011 18:00:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Inputs-conf/m-p/25483#M4155</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2011-11-30T18:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Inputs-conf/m-p/25484#M4156</link>
      <description>&lt;P&gt;Yes the top line will match the words "messages", "secure" or "auth" anywhere in the file or folder name. The bottom will only match if it is at the beginning of the source.&lt;/P&gt;

&lt;P&gt;As most sources start with the drive or a slash (i.e. c:\ or /), it is unlikely to match those.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2011 19:58:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Inputs-conf/m-p/25484#M4156</guid>
      <dc:creator>BobM</dc:creator>
      <dc:date>2011-11-30T19:58:38Z</dc:date>
    </item>
  </channel>
</rss>

