# Logstash runs forever but no index got created

**URL:** <https://discuss.elastic.co/t/logstash-runs-forever-but-no-index-got-created/341428>\
**Category:** Logstash\
**Created:** [August 23, 2023, 6:13am UTC](https://discuss.elastic.co/t/logstash-runs-forever-but-no-index-got-created/341428 "2023-08-23T06:13:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![uma\_parvathy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/uma_parvathy/32/123696_2.png) [@uma\_parvathy](https://discuss.elastic.co/u/uma_parvathy)\
**Post date:** [August 23, 2023, 6:13am UTC](https://discuss.elastic.co/t/logstash-runs-forever-but-no-index-got-created/341428/1 "2023-08-23T06:13:30Z")

</div>

Hi All,

I'm using the below configuration in logstash to populate the data on Elasticsearch 7.17.11 from logstash 7.17.12.

It shows pipeline started but no index got created .

```auto
input {
    jdbc {
        jdbc_driver_library => "/usr/share/logstash/logstash-core/lib/jars/postgresql-jdbc.jar"
        jdbc_connection_string => "jdbc:postgresql://<DBHOST>:5432/itsm_db"
        jdbc_user => "si_dev"
        jdbc_password => "Yh"
        jdbc_driver_class => "org.postgresql.Driver"
        tracking_column => "incident_number"
        schedule => "0 * * * *" # cronjob schedule format (see "Helpful Links")
        statement => "SELECT incident_number, site_id, sub_site_id, account_id, sub_account_id, closed_at, state, short_description, description, incident_parent_id from customerdata_incident"
        jdbc_paging_enabled => "true"
        jdbc_page_size => "300"
    }
}

filter {
	mutate {
		copy => {"id" => "[@metadata][_id]"}
                remove_field => ["@timestamp", "@version"]
	}
}
output {
	stdout { codec => "json" }
	elasticsearch {
		hosts => ["https://<elasticsearch fqdn>:443"]
                ssl => true
                ssl_certificate_verification => true
                cacert => "/etc/ssl/ca_dev_elasticsearch.cer"
                ecs_compatibility => disabled
		user => "elasticsearch-admin"
		password => "cr"
		index => "logstash_itsm_incident"
                ilm_enabled => true
	}
}

```

i ran it with debug mode. it shows the logs as follows.

```auto
[DEBUG] 2023-08-23 06:11:59.041 [pool-7-thread-1] jvm - collector name {:name=>"ParNew"}
[DEBUG] 2023-08-23 06:11:59.041 [pool-7-thread-1] jvm - collector name {:name=>"ConcurrentMarkSweep"}
[DEBUG] 2023-08-23 06:12:03.531 [logstash-pipeline-flush] PeriodicFlush - Pushing flush onto pipeline.
[DEBUG] 2023-08-23 06:12:03.813 [pool-7-thread-1] cgroup - One or more required cgroup files or directories not found: /proc/self/cgroup, /sys/fs/cgroup/cpuacct, /sys/fs/cgroup/cpu
[DEBUG] 2023-08-23 06:12:04.054 [pool-7-thread-1] jvm - collector name {:name=>"ParNew"}
[DEBUG] 2023-08-23 06:12:04.054 [pool-7-thread-1] jvm - collector name {:name=>"ConcurrentMarkSweep"}
[DEBUG] 2023-08-23 06:12:08.531 [logstash-pipeline-flush] PeriodicFlush - Pushing flush onto pipeline.
[DEBUG] 2023-08-23 06:12:08.821 [pool-4-thread-1] cgroup - One or more required cgroup files or directories not found: /proc/self/cgroup, /sys/fs/cgroup/cpuacct, /sys/fs/cgroup/cpu
[DEBUG] 2023-08-23 06:12:09.080 [pool-4-thread-1] jvm - collector name {:name=>"ParNew"}
[DEBUG] 2023-08-23 06:12:09.080 [pool-4-thread-1] jvm - collector name {:name=>"ConcurrentMarkSweep"}
[DEBUG] 2023-08-23 06:12:13.531 [logstash-pipeline-flush] PeriodicFlush - Pushing flush onto pipeline.
[DEBUG] 2023-08-23 06:12:13.822 [pool-7-thread-1] cgroup - One or more required cgroup files or directories not found: /proc/self/cgroup, /sys/fs/cgroup/cpuacct, /sys/fs/cgroup/cpu
[DEBUG] 2023-08-23 06:12:14.087 [pool-4-thread-1] jvm - collector name {:name=>"ParNew"}
[DEBUG] 2023-08-23 06:12:14.087 [pool-4-thread-1] jvm - collector name {:name=>"ConcurrentMarkSweep"}
[DEBUG] 2023-08-23 06:12:18.531 [logstash-pipeline-flush] PeriodicFlush - Pushing flush onto pipeline.
[DEBUG] 2023-08-23 06:12:18.824 [pool-7-thread-1] cgroup - One or more required cgroup files or directories not found: /proc/self/cgroup, /sys/fs/cgroup/cpuacct, /sys/fs/cgroup/cpu
[DEBUG] 2023-08-23 06:12:19.094 [pool-4-thread-1] jvm - collector name {:name=>"ParNew"}
[DEBUG] 2023-08-23 06:12:19.095 [pool-4-thread-1] jvm - collector name {:name=>"ConcurrentMarkSweep"}
[DEBUG] 2023-08-23 06:12:23.531 [logstash-pipeline-flush] PeriodicFlush - Pushing flush onto pipeline.
[DEBUG] 2023-08-23 06:12:23.828 [pool-4-thread-1] cgroup - One or more required cgroup files or directories not found: /proc/self/cgroup, /sys/fs/cgroup/cpuacct, /sys/fs/cgroup/cpu
[DEBUG] 2023-08-23 06:12:24.102 [pool-7-thread-1] jvm - collector name {:name=>"ParNew"}
[DEBUG] 2023-08-23 06:12:24.106 [pool-7-thread-1] jvm - collector name {:name=>"ConcurrentMarkSweep"}
[DEBUG] 2023-08-23 06:12:28.531 [logstash-pipeline-flush] PeriodicFlush - Pushing flush onto pipeline.
[DEBUG] 2023-08-23 06:12:28.833 [pool-7-thread-1] cgroup - One or more required cgroup files or directories not found: /proc/self/cgroup, /sys/fs/cgroup/cpuacct, /sys/fs/cgroup/cpu
[DEBUG] 2023-08-23 06:12:29.113 [pool-7-thread-1] jvm - collector name {:name=>"ParNew"}
[DEBUG] 2023-08-23 06:12:29.114 [pool-7-thread-1] jvm - collector name {:name=>"ConcurrentMarkSweep"}
[DEBUG] 2023-08-23 06:12:33.531 [logstash-pipeline-flush] PeriodicFlush - Pushing flush onto pipeline.
[DEBUG] 2023-08-23 06:12:33.838 [pool-4-thread-1] cgroup - One or more required cgroup files or directories not found: /proc/self/cgroup, /sys/fs/cgroup/cpuacct, /sys/fs/cgroup/cpu
[DEBUG] 2023-08-23 06:12:34.120 [pool-7-thread-1] jvm - collector name {:name=>"ParNew"}
[DEBUG] 2023-08-23 06:12:34.121 [pool-7-thread-1] jvm - collector name {:name=>"ConcurrentMarkSweep"}
[DEBUG] 2023-08-23 06:12:38.531 [logstash-pipeline-flush] PeriodicFlush - Pushing flush onto pipeline.
[DEBUG] 2023-08-23 06:12:38.841 [pool-7-thread-1] cgroup - One or more required cgroup files or directories not found: /proc/self/cgroup, /sys/fs/cgroup/cpuacct, /sys/fs/cgroup/cpu
[DEBUG] 2023-08-23 06:12:39.130 [pool-7-thread-1] jvm - collector name {:name=>"ParNew"}
[DEBUG] 2023-08-23 06:12:39.131 [pool-7-thread-1] jvm - collector name {:name=>"ConcurrentMarkSweep"}
[DEBUG] 2023-08-23 06:12:43.531 [logstash-pipeline-flush] PeriodicFlush - Pushing flush onto pipeline.
[DEBUG] 2023-08-23 06:12:43.843 [pool-7-thread-1] cgroup - One or more required cgroup files or directories not found: /proc/self/cgroup, /sys/fs/cgroup/cpuacct, /sys/fs/cgroup/cpu
[DEBUG] 2023-08-23 06:12:44.138 [pool-7-thread-1] jvm - collector name {:name=>"ParNew"}
[DEBUG] 2023-08-23 06:12:44.138 [pool-7-thread-1] jvm - collector name {:name=>"ConcurrentMarkSweep"}
[DEBUG] 2023-08-23 06:12:48.531 [logstash-pipeline-flush] PeriodicFlush - Pushing flush onto pipeline.
[DEBUG] 2023-08-23 06:12:48.846 [pool-7-thread-1] cgroup - One or more required cgroup files or directories not found: /proc/self/cgroup, /sys/fs/cgroup/cpuacct, /sys/fs/cgroup/cpu
[DEBUG] 2023-08-23 06:12:49.145 [pool-4-thread-1] jvm - collector name {:name=>"ParNew"}
[DEBUG] 2023-08-23 06:12:49.145 [pool-4-thread-1] jvm - collector name {:name=>"ConcurrentMarkSweep"}

```

---

<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:** [September 20, 2023, 6:14am UTC](https://discuss.elastic.co/t/logstash-runs-forever-but-no-index-got-created/341428/2 "2023-09-20T06:14:07Z")

</div>

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