title: Logstash starting but not creating indices
body: <p>I am trying to create an index in elasticsearch using a csv file. Below is the configuration.</p>
  
  <pre><code>input {
    file {
      path =&gt; "C:\Users\soumdash\Desktop\Accounts.csv"
      start_position =&gt; "beginning"
      sincedb_path =&gt; "NUL"
    }
  }
  
  filter {
    csv{
       separator =&gt; ","
       columns =&gt; ["Country_code","Account_number","User_ID","Date","Time"]
    }
    mutate {convert =&gt; ["Account_number","integer"]}
  }
  
  output {
    elasticsearch {
      hosts =&gt; ["localhost:9200"]
      index =&gt; "accounts"
    }
    stdout {}
  }
  </code></pre>
  
  <p>I am starting the logstash and from the console I can see that it has bee started and the pipeline has been created. But I cannot see the same index in kibana. </p>
  
  <pre><code>C:\Users\soumdash\Desktop\logstash-7.2.0\bin&gt;logstash -f logstash-account.conf
  Thread.exclusive is deprecated, use Thread::Mutex
  Sending Logstash logs to C:/Users/soumdash/Desktop/logstash-7.2.0/logs which is now configured via log4j2.properties
  [2019-07-26T14:01:27,662][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
  [2019-07-26T14:01:27,711][INFO ][logstash.runner          ] Starting Logstash {"logstash.version"=&gt;"7.2.0"}
  [2019-07-26T14:01:42,181][WARN ][logstash.outputs.elasticsearch] You are using a deprecated config setting "document_type" set in elasticsearch. Deprecated settings will continue to work, but are scheduled for removal from logstash in the future. Document types are being deprecated in Elasticsearch 6.0, and removed entirely in 7.0. You should avoid this feature If you have any questions about this, please visit the #logstash channel on freenode irc. {:name=&gt;"document_type", :plugin=&gt;&lt;LogStash::Outputs::ElasticSearch index=&gt;"accounts", id=&gt;"b54e1c07198cf188279cb051e01c9fe6118db48fe2ce76739dc2ace82e02c078", hosts=&gt;[//localhost:9200], document_type=&gt;"ERC_Acoounts", enable_metric=&gt;true, codec=&gt;&lt;LogStash::Codecs::Plain id=&gt;"plain_57f41853-7ddf-48e5-a5e4-316d94c83a0f", enable_metric=&gt;true, charset=&gt;"UTF-8"&gt;, workers=&gt;1, manage_template=&gt;true, template_name=&gt;"logstash", template_overwrite=&gt;false, doc_as_upsert=&gt;false, script_type=&gt;"inline", script_lang=&gt;"painless", script_var_name=&gt;"event", scripted_upsert=&gt;false, retry_initial_interval=&gt;2, retry_max_interval=&gt;64, retry_on_conflict=&gt;1, ilm_enabled=&gt;"auto", ilm_rollover_alias=&gt;"logstash", ilm_pattern=&gt;"{now/d}-000001", ilm_policy=&gt;"logstash-policy", action=&gt;"index", ssl_certificate_verification=&gt;true, sniffing=&gt;false, sniffing_delay=&gt;5, timeout=&gt;60, pool_max=&gt;1000, pool_max_per_route=&gt;100, resurrect_delay=&gt;5, validate_after_inactivity=&gt;10000, http_compression=&gt;false&gt;}
  [2019-07-26T14:01:46,248][INFO ][logstash.outputs.elasticsearch] Elasticsearch pool URLs updated {:changes=&gt;{:removed=&gt;[], :added=&gt;[http://localhost:9200/]}}
  [2019-07-26T14:01:46,752][WARN ][logstash.outputs.elasticsearch] Restored connection to ES instance {:url=&gt;"http://localhost:9200/"}
  [2019-07-26T14:01:46,852][INFO ][logstash.outputs.elasticsearch] ES Output version determined {:es_version=&gt;7}
  [2019-07-26T14:01:46,862][WARN ][logstash.outputs.elasticsearch] Detected a 6.x and above cluster: the `type` event field won't be used to determine the document _type {:es_version=&gt;7}
  [2019-07-26T14:01:46,910][INFO ][logstash.outputs.elasticsearch] New Elasticsearch output {:class=&gt;"LogStash::Outputs::ElasticSearch", :hosts=&gt;["//localhost:9200"]}
  [2019-07-26T14:01:47,046][INFO ][logstash.outputs.elasticsearch] Using default mapping template
  [2019-07-26T14:01:47,205][INFO ][logstash.outputs.elasticsearch] Attempting to install template {:manage_template=&gt;{"index_patterns"=&gt;"logstash-*", "version"=&gt;60001, "settings"=&gt;{"index.refresh_interval"=&gt;"5s", "number_of_shards"=&gt;1}, "mappings"=&gt;{"dynamic_templates"=&gt;[{"message_field"=&gt;{"path_match"=&gt;"message", "match_mapping_type"=&gt;"string", "mapping"=&gt;{"type"=&gt;"text", "norms"=&gt;false}}}, {"string_fields"=&gt;{"match"=&gt;"*", "match_mapping_type"=&gt;"string", "mapping"=&gt;{"type"=&gt;"text", "norms"=&gt;false, "fields"=&gt;{"keyword"=&gt;{"type"=&gt;"keyword", "ignore_above"=&gt;256}}}}}], "properties"=&gt;{"@timestamp"=&gt;{"type"=&gt;"date"}, "@version"=&gt;{"type"=&gt;"keyword"}, "geoip"=&gt;{"dynamic"=&gt;true, "properties"=&gt;{"ip"=&gt;{"type"=&gt;"ip"}, "location"=&gt;{"type"=&gt;"geo_point"}, "latitude"=&gt;{"type"=&gt;"half_float"}, "longitude"=&gt;{"type"=&gt;"half_float"}}}}}}}
  [2019-07-26T14:01:47,236][WARN ][org.logstash.instrument.metrics.gauge.LazyDelegatingGauge] A gauge metric of an unknown type (org.jruby.specialized.RubyArrayOneObject) has been create for key: cluster_uuids. This may result in invalid serialization.  It is recommended to log an issue to the responsible developer/development team.
  [2019-07-26T14:01:47,236][INFO ][logstash.javapipeline    ] Starting pipeline {:pipeline_id=&gt;"main", "pipeline.workers"=&gt;4, "pipeline.batch.size"=&gt;125, "pipeline.batch.delay"=&gt;50, "pipeline.max_inflight"=&gt;500, :thread=&gt;"#&lt;Thread:0x26c630b8 run&gt;"}
  [2019-07-26T14:01:52,105][INFO ][logstash.javapipeline    ] Pipeline started {"pipeline.id"=&gt;"main"}
  [2019-07-26T14:01:52,232][INFO ][logstash.agent           ] Pipelines running {:count=&gt;1, :running_pipelines=&gt;[:main], :non_running_pipelines=&gt;[]}
  [2019-07-26T14:01:52,249][INFO ][filewatch.observingtail  ] START, creating Discoverer, Watch with file and sincedb collections
  [2019-07-26T14:01:53,290][INFO ][logstash.agent           ] Successfully started Logstash API endpoint {:port=&gt;9600}
  </code></pre>
  
  <p>I have checked and tried a few other answers on the same issue such as 
  <a href="https://stackoverflow.com/questions/53299360/logstash-creates-pipeline-but-index-is-not-created">Logstash creates pipeline but index is not created</a> and 
  <a href="https://stackoverflow.com/questions/55210303/logstash-is-not-creating-index-in-elastic-search">Logstash is not creating index in elastic search</a>
  But with no success result.</p>
  
  <p>Can anyone please help? I am using ELK 7.2.</p>