<?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: Time capturing regex for virtual index that points to AWS ELB logs in s3 bucket does not work in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Time-capturing-regex-for-virtual-index-that-points-to-AWS-ELB/m-p/169214#M186231</link>
    <description>&lt;P&gt;What is the indexes.conf file looks like (hunk/etc/apps/search/local/indexes.conf)?&lt;/P&gt;</description>
    <pubDate>Wed, 06 May 2015 15:55:19 GMT</pubDate>
    <dc:creator>rdagan_splunk</dc:creator>
    <dc:date>2015-05-06T15:55:19Z</dc:date>
    <item>
      <title>Time capturing regex for virtual index that points to AWS ELB logs in s3 bucket does not work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Time-capturing-regex-for-virtual-index-that-points-to-AWS-ELB/m-p/169213#M186230</link>
      <description>&lt;P&gt;I am using a virtual index that points to AWS ELB logs in S3 bucket to run Splunk query. I have set this up using Hunk app in Splunk which uses an EMR cluster in Amazon to run the queries.&lt;/P&gt;

&lt;P&gt;It seems Time capturing regex defined in virtual index never works. I see plenty of the following error in server logs.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;04-30-2015 04:09:49.282 WARN  ERP.elb_log_provider -  VixTimeSpecifier - Could not match time regex="/AWSLogs/*/elasticloadbalancing/*/(\d+)/(\d+)/(\d+)/*" against path="/AWSLogs//elasticloadbalancing/us-east-1/2015/04/18/_elasticloadbalancing_us-east-1__20150418T0055Z_.log"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can anyone help me find out what's going on here?&lt;BR /&gt;
Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2015 04:33:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Time-capturing-regex-for-virtual-index-that-points-to-AWS-ELB/m-p/169213#M186230</guid>
      <dc:creator>tkashem</dc:creator>
      <dc:date>2015-04-30T04:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Time capturing regex for virtual index that points to AWS ELB logs in s3 bucket does not work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Time-capturing-regex-for-virtual-index-that-points-to-AWS-ELB/m-p/169214#M186231</link>
      <description>&lt;P&gt;What is the indexes.conf file looks like (hunk/etc/apps/search/local/indexes.conf)?&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2015 15:55:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Time-capturing-regex-for-virtual-index-that-points-to-AWS-ELB/m-p/169214#M186231</guid>
      <dc:creator>rdagan_splunk</dc:creator>
      <dc:date>2015-05-06T15:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Time capturing regex for virtual index that points to AWS ELB logs in s3 bucket does not work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Time-capturing-regex-for-virtual-index-that-points-to-AWS-ELB/m-p/169215#M186232</link>
      <description>&lt;P&gt;Sorry for the delay - here is relevant parts of indexes.conf file -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;vix.description = prod-elb
vix.input.1.accept = \.log$
vix.input.1.path = s3://foo/AWSLogs/...
vix.provider = development-cluster
vix.input.1.et.format = yyyyMMdd
vix.input.1.et.offset = 0
vix.input.1.et.regex = /foo/AWSLogs/*/elasticloadbalancing/*/(\d+)/(\d+)/(\d+)/
vix.input.1.lt.format = yyyyMMdd
vix.input.1.lt.regex = /foo/AWSLogs/*/elasticloadbalancing/*/(\d+)/(\d+)/(\d+)/
vix.input.1.lt.offset = 0
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 07 Aug 2015 20:22:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Time-capturing-regex-for-virtual-index-that-points-to-AWS-ELB/m-p/169215#M186232</guid>
      <dc:creator>tkashem</dc:creator>
      <dc:date>2015-08-07T20:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Time capturing regex for virtual index that points to AWS ELB logs in s3 bucket does not work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Time-capturing-regex-for-virtual-index-that-points-to-AWS-ELB/m-p/169216#M186233</link>
      <description>&lt;P&gt;It looks like the regex requires a . before the Star (.*)&lt;BR /&gt;
And vix.input.1.lt.offset = 86400&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2015 22:55:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Time-capturing-regex-for-virtual-index-that-points-to-AWS-ELB/m-p/169216#M186233</guid>
      <dc:creator>rdagan_splunk</dc:creator>
      <dc:date>2015-08-07T22:55:02Z</dc:date>
    </item>
  </channel>
</rss>

