# S3 Input - No Time Information Error

**URL:** <https://discuss.elastic.co/t/s3-input-no-time-information-error/45150>\
**Category:** Logstash\
**Created:** [March 22, 2016, 7:35pm UTC](https://discuss.elastic.co/t/s3-input-no-time-information-error/45150 "2016-03-22T19:35:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![geoffdinsdale](https://avatars.discourse-cdn.com/v4/letter/g/c2a13f/32.png) [@geoffdinsdale](https://discuss.elastic.co/u/geoffdinsdale)\
**Post date:** [March 22, 2016, 7:35pm UTC](https://discuss.elastic.co/t/s3-input-no-time-information-error/45150/1 "2016-03-22T19:35:21Z")

</div>

Getting an issue when trying to import log files from an S3 bucket to ES, be assured that I do have the credentials to hit the bucket and can in fact copy the files and process them with a file input, but this limits our ability to just point Logstash at the bucket and let it run all day.

Error seems to be date/time related...

```auto
A plugin had an unrecoverable error. Will restart this plugin.
 Plugin: <LogStash::Inputs::S3 bucket=>"XXXXXXXXXX", region=>"us-east-1", aws_credentials_file=>"XXXXXXXXXX", prefix=>"XXXXXXXXXX", temporary_directory=>"/tmp", type=>"XXXXXXXXXX", sincedb_path=>"/dev/null", debug=>false, codec=><LogStash::Codecs::Plain charset=>"UTF-8">, use_ssl=>true, delete=>false, interval=>60>
  Error: no time information in "" {:level=>:error}

```

The error seems ot indicate that I am not specifying a time field, but as you can see from config below, I am.

```auto
input {
    s3 {
        bucket => "XXXXXXXXXX"
        region => "us-east-1"
        aws_credentials_file => "XXXXXXXXXX"
        prefix => "XXXXXXXXXX"
        temporary_directory => "/tmp"
        type => "XXXXXXXXXX"
        sincedb_path => "/dev/null"
    }
}

filter {
        json {
            source => "message"
            add_field => ["urlstring", "XXXXXXXXXX"]
            add_field => ["hardware_type", "XXXXXXXXXX"]
            add_field => ["duration", "XXXXXXXXXX"]
            add_field => ["time_occurred", "XXXXXXXXXX"]
        }
        date {
            match => ["time_occurred", "UNIX_MS"]
            target => "time_occurred"
        }
 }

output {
    stdout { codec => rubydebug }
}

```

Any ideas on what I'm doing wrong?

---

<div class="post-metadata">

**Author:** ![teebu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/teebu/32/10119_2.png) [@teebu](https://discuss.elastic.co/u/teebu)\
**Post date:** [January 22, 2017, 5:50am UTC](https://discuss.elastic.co/t/s3-input-no-time-information-error/45150/2 "2017-01-22T05:50:07Z")

</div>

> [@geoffdinsdale](#):
>
> sincedb\_path =\> "/dev/null"

I belive its complaining about this.

It can't read the time from the sincedb.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 4:29am UTC](https://discuss.elastic.co/t/s3-input-no-time-information-error/45150/3 "2017-07-06T04:29:11Z")

</div>


