# Logstash creates pipeline but index is not created

**URL:** <https://discuss.elastic.co/t/logstash-creates-pipeline-but-index-is-not-created/156620>\
**Category:** Logstash\
**Created:** [November 14, 2018, 9:41am UTC](https://discuss.elastic.co/t/logstash-creates-pipeline-but-index-is-not-created/156620 "2018-11-14T09:41:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rishabh1](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@rishabh1](https://discuss.elastic.co/u/rishabh1)\
**Post date:** [November 14, 2018, 9:41am UTC](https://discuss.elastic.co/t/logstash-creates-pipeline-but-index-is-not-created/156620/1 "2018-11-14T09:41:57Z")

</div>

I am trying to create an index on elasticsearch cloud using a json file. I have created the configuration as given below:

```
input {
        file {
                path => ["/root/leads.json"]
                start_position => "beginning"
                ignore_older => 0
        }
}
output {
        elasticsearch {
                        hosts => ["https://ac9xxxxxxxxxxxxxb.us-east-1.aws.found.io:9243"]
                        user => "elastic"
                        password => "xxxxxxxxxxxxxx"
        }
}

```

I am able to run the logstash using the command  
`sudo bin/logstash -f /etc/logstash/conf.d/logstash.conf`

The logstash starts a pipeline, but I am not seeing any index getting created in elasticsearch

```
 [INFO] 2018-11-14 09:16:01.821 [[main]>worker1] file - No sincedb_path set, generating one based on the "path" setting {:sincedb_path=>"/usr/share/logstash/data/plugins/inputs/file/.sincedb_43b5fa3acfcfc04b3df80a7c15c8d991", :path=>["/root/leads.json"]}
[INFO] 2018-11-14 09:16:01.852 [Converge PipelineAction::Create<main>] pipeline - Pipeline started successfully {:pipeline_id=>"main", :thread=>"#<Thread:0x2fda8150 run>"}
[INFO] 2018-11-14 09:16:01.944 [Ruby-0-Thread-1: /usr/share/logstash/lib/bootstrap/environment.rb:6] agent - Pipelines running {:count=>1, :running_pipelines=>[:main], :non_running_pipelines=>[]}
[INFO] 2018-11-14 09:16:01.996 [[main]<file] observingtail - START, creating Discoverer, Watch with file and sincedb collections
[INFO] 2018-11-14 09:16:02.522 [Api Webserver] agent - Successfully started Logstash API endpoint {:port=>9600}

```

Please let me know what additional work needs to be done to create index ?

---

<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:** [December 12, 2018, 9:41am UTC](https://discuss.elastic.co/t/logstash-creates-pipeline-but-index-is-not-created/156620/2 "2018-12-12T09:41:59Z")

</div>

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