# Schedule not working sometimes | gaps in records

**URL:** <https://discuss.elastic.co/t/schedule-not-working-sometimes-gaps-in-records/296442>\
**Category:** Logstash\
**Created:** [February 7, 2022, 8:59am UTC](https://discuss.elastic.co/t/schedule-not-working-sometimes-gaps-in-records/296442 "2022-02-07T08:59:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nasser](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nasser/32/99437_2.png) [@Nasser](https://discuss.elastic.co/u/Nasser)\
**Post date:** [February 7, 2022, 8:59am UTC](https://discuss.elastic.co/t/schedule-not-working-sometimes-gaps-in-records/296442/1 "2022-02-07T08:59:27Z")

</div>

Hi  
i have 10 jdbc.conf files when i start the logstash all queries executed successfully but after the first shot some of the queries not execute.  
i tried to find the reason in logstash.log but nothing show  
PFB screenshot from the dashboard and you can see the gaps

![CS](https://us1.discourse-cdn.com/elastic/original/3X/b/b/bb196819922d70088236be3cc6778141300ee665.png)

my jdbc.conf

```auto
input {
  jdbc {
    jdbc_driver_library => "/opt/ojdbc7.jar"
    jdbc_driver_class => "Java::oracle.jdbc.driver.OracleDriver"
    jdbc_connection_string => "jdbc:oracle:thin:@*:*/*"
    jdbc_user => "*"
              jdbc_password => "*"
    schedule => "* * * * *"
    statement => "select * from my table"

  }

##############################################

jdbc {
    jdbc_driver_library => "/opt/ojdbc7.jar"
    jdbc_driver_class => "Java::oracle.jdbc.driver.OracleDriver"
    jdbc_connection_string => "jdbc:oracle:thin:@*/*"
    jdbc_user => "*"
              jdbc_password => "*"
    schedule => "* * * * *"
    statement => "select * from my table"

  }

}

filter {
      uuid {
        target => "uuid"
        overwrite => true
      }
}

output {stdout { codec => rubydebug }
elasticsearch { hosts => ["http://localhost:9200"]
data_stream => "true"
data_stream_type => "logs"
document_id => "%{uuid}"
user => "*"
password => "*"

 }
}

```

the other files same structure but without filter and output

---

<div class="post-metadata">

**Author:** ![Nasser](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nasser/32/99437_2.png) [@Nasser](https://discuss.elastic.co/u/Nasser)\
**Post date:** [February 15, 2022, 1:53pm UTC](https://discuss.elastic.co/t/schedule-not-working-sometimes-gaps-in-records/296442/2 "2022-02-15T13:53:44Z")

</div>

can anyone help me here ☹  
i tried to increase the pipeline.workers but still the same  
please let me know if any further details needed  
thanks

---

<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:** [March 15, 2022, 1:54pm UTC](https://discuss.elastic.co/t/schedule-not-working-sometimes-gaps-in-records/296442/3 "2022-03-15T13:54:31Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
