Logstash is not creating index while importing data from csv file to elasticsearch
<p>I have the configuration file (logstash.conf) in logstash folder and the code for that is ..</p>

<pre><code>input {
      file {
          path =&gt; "C:\Users\ADMIN\Downloads\Restaurant_Inspection_Scores.csv"
          type =&gt; "Restaurant_Inspection_Scores"
          start_position =&gt; "beginning"
          sincedb_path =&gt; "C:\Users\ADMIN\Downloads\dbfile2"
      }
}
filter {
    csv {
        columns =&gt; ["Restaurant Name","Zip Code","Inspection Date","Score","Address","Facility ID","Process Description"]
        separator =&gt; ","
    }
}
output {
    elasticsearch {
        action =&gt; "index"
        hosts =&gt; "localhost:9200"
        index =&gt; "logstash-%{+YYYY.MM.dd}"
        workers =&gt; 1
    }
     stdout {
     codec =&gt; rubydebug
     }
}
</code></pre>

<p>My logstash version is 2.2.2 and when I run the command - bin/logstash -f  logstash.conf ...Logstash is not creating an index in localhost:9200 although it is showing no error (it just says "Logstash startup completed"). Please help out !</p>

<p>EDIT : DEBUG OUTPUT </p>

<pre><code>#&lt;Proc:0x1cec15b@C:/Users/ADMIN/Downloads/logstash-2.2.2/vendor/bundle/jruby/1.9
/gems/logstash-output-elasticsearch-2.5.1-java/lib/logstash/outputs/elasticsearc
h/common.rb:57&gt;, @logger=#&lt;Cabin::Channel:0x461745 @metrics=#&lt;Cabin::Metrics:0x1
53ff49 @metrics_lock=#&lt;Mutex:0x1808bcc&gt;, @metrics={}, @channel=#&lt;Cabin::Channel:
0x461745 ...&gt;&gt;, @subscriber_lock=#&lt;Mutex:0x24481f&gt;, @level=:debug, @subscribers=
{12860=&gt;#&lt;Cabin::Outputs::IO:0x5791c0 @io=#&lt;IO:fd 1&gt;, @lock=#&lt;Mutex:0x1ceb4ed&gt;&gt;}
, @data={}&gt;, @last_flush=2016-02-26 13:48:55 +0530, @flush_interval=1, @stopping
=#&lt;Concurrent::AtomicBoolean:0x114bdef&gt;, @buffer=[], @flush_thread=#&lt;Thread:0x87
d59a run&gt;&gt;", :interval=&gt;1, :level=&gt;:debug, :file=&gt;"/Users/ADMIN/Downloads/logsta
sh-2.2.2/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.5.1-java/l
ib/logstash/outputs/elasticsearch/buffer.rb", :line=&gt;"90", :method=&gt;"interval_fl
ush"}←[0m
←[36mFlushing buffer at interval {:instance=&gt;"#&lt;LogStash::Outputs::ElasticSearch
::Buffer:0x1cc8478 @operations_mutex=#&lt;Mutex:0x10b60f1&gt;, @max_size=500, @operati
ons_lock=#&lt;Java::JavaUtilConcurrentLocks::ReentrantLock:0x134ef08&gt;, @submit_proc
=#&lt;Proc:0x16ac2f0@C:/Users/ADMIN/Downloads/logstash-2.2.2/vendor/bundle/jruby/1.
9/gems/logstash-output-elasticsearch-2.5.1-java/lib/logstash/outputs/elasticsear
ch/common.rb:57&gt;, @logger=#&lt;Cabin::Channel:0x461745 @metrics=#&lt;Cabin::Metrics:0x
153ff49 @metrics_lock=#&lt;Mutex:0x1808bcc&gt;, @metrics={}, @channel=#&lt;Cabin::Channel
:0x461745 ...&gt;&gt;, @subscriber_lock=#&lt;Mutex:0x24481f&gt;, @level=:debug, @subscribers
={12860=&gt;#&lt;Cabin::Outputs::IO:0x5791c0 @io=#&lt;IO:fd 1&gt;, @lock=#&lt;Mutex:0x1ceb4ed&gt;&gt;
}, @data={}&gt;, @last_flush=2016-02-26 13:48:55 +0530, @flush_interval=1, @stoppin
g=#&lt;Concurrent::AtomicBoolean:0x1643384&gt;, @buffer=[], @flush_thread=#&lt;Thread:0x1
d2c50f run&gt;&gt;", :interval=&gt;1, :level=&gt;:debug, :file=&gt;"/Users/ADMIN/Downloads/logs
tash-2.2.2/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.5.1-java
/lib/logstash/outputs/elasticsearch/buffer.rb", :line=&gt;"90", :method=&gt;"interval_
flush"}←[0m
←[36mFlushing buffer at interval {:instance=&gt;"#&lt;LogStash::Outputs::ElasticSearch
::Buffer:0x1504af1 @operations_mutex=#&lt;Mutex:0x197ae6b&gt;, @max_size=500, @operati
ons_lock=#&lt;Java::JavaUtilConcurrentLocks::ReentrantLock:0x1a82181&gt;, @submit_proc
=#&lt;Proc:0x1f86276@C:/Users/ADMIN/Downloads/logstash-2.2.2/vendor/bundle/jruby/1.
9/gems/logstash-output-elasticsearch-2.5.1-java/lib/logstash/outputs/elasticsear
ch/common.rb:57&gt;, @logger=#&lt;Cabin::Channel:0x461745 @metrics=#&lt;Cabin::Metrics:0x
153ff49 @metrics_lock=#&lt;Mutex:0x1808bcc&gt;, @metrics={}, @channel=#&lt;Cabin::Channel
:0x461745 ...&gt;&gt;, @subscriber_lock=#&lt;Mutex:0x24481f&gt;, @level=:debug, @subscribers
={12860=&gt;#&lt;Cabin::Outputs::IO:0x5791c0 @io=#&lt;IO:fd 1&gt;, @lock=#&lt;Mutex:0x1ceb4ed&gt;&gt;
}, @data={}&gt;, @last_flush=2016-02-26 13:48:55 +0530, @flush_interval=1, @stoppin
g=#&lt;Concurrent::AtomicBoolean:0x1f87954&gt;, @buffer=[], @flush_thread=#&lt;Thread:0x1
40e1c3 run&gt;&gt;", :interval=&gt;1, :level=&gt;:debug, :file=&gt;"/Users/ADMIN/Downloads/logs
tash-2.2.2/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.5.1-java
/lib/logstash/outputs/elasticsearch/buffer.rb", :line=&gt;"90", :method=&gt;"interval_
flush"}←[0m
←[36mFlushing buffer at interval {:instance=&gt;"#&lt;LogStash::Outputs::ElasticSearch
::Buffer:0x3076ee @operations_mutex=#&lt;Mutex:0xf79a58&gt;, @max_size=500, @operation
s_lock=#&lt;Java::JavaUtilConcurrentLocks::ReentrantLock:0xc81d9e&gt;, @submit_proc=#&lt;
Proc:0x581ab2@C:/Users/ADMIN/Downloads/logstash-2.2.2/vendor/bundle/jruby/1.9/ge
ms/logstash-output-elasticsearch-2.5.1-java/lib/logstash/outputs/elasticsearch/c
ommon.rb:57&gt;, @logger=#&lt;Cabin::Channel:0x461745 @metrics=#&lt;Cabin::Metrics:0x153f
f49 @metrics_lock=#&lt;Mutex:0x1808bcc&gt;, @metrics={}, @channel=#&lt;Cabin::Channel:0x4
61745 ...&gt;&gt;, @subscriber_lock=#&lt;Mutex:0x24481f&gt;, @level=:debug, @subscribers={12
860=&gt;#&lt;Cabin::Outputs::IO:0x5791c0 @io=#&lt;IO:fd 1&gt;, @lock=#&lt;Mutex:0x1ceb4ed&gt;&gt;}, @
data={}&gt;, @last_flush=2016-02-26 13:48:55 +0530, @flush_interval=1, @stopping=#&lt;
Concurrent::AtomicBoolean:0xd96c3b&gt;, @buffer=[], @flush_thread=#&lt;Thread:0xa1b853
 run&gt;&gt;", :interval=&gt;1, :level=&gt;:debug, :file=&gt;"/Users/ADMIN/Downloads/logstash-2
.2.2/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.5.1-java/lib/l
ogstash/outputs/elasticsearch/buffer.rb", :line=&gt;"90", :method=&gt;"interval_flush"
}←[0m
Proc:0x581ab2@C:/Users/ADMIN/Downloads/logstash-2.2.2/vendor/bundle/jruby/1.9/ge
ms/logstash-output-elasticsearch-2.5.1-java/lib/logstash/outputs/elasticsearch/c
ommon.rb:57&gt;, @logger=#&lt;Cabin::Channel:0x461745 @metrics=#&lt;Cabin::Metrics:0x153f
f49 @metrics_lock=#&lt;Mutex:0x1808bcc&gt;, @metrics={}, @channel=#&lt;Cabin::Channel:0x4
61745 ...&gt;&gt;, @subscriber_lock=#&lt;Mutex:0x24481f&gt;, @level=:debug, @subscribers={12
860=&gt;#&lt;Cabin::Outputs::IO:0x5791c0 @io=#&lt;IO:fd 1&gt;, @lock=#&lt;Mutex:0x1ceb4ed&gt;&gt;}, @
data={}&gt;, @last_flush=2016-02-26 13:49:14 +0530, @flush_interval=1, @stopping=#&lt;
Concurrent::AtomicBoolean:0xd96c3b&gt;, @buffer=[], @flush_thread=#&lt;Thread:0xa1b853
 run&gt;&gt;", :interval=&gt;1, :level=&gt;:debug, :file=&gt;"/Users/ADMIN/Downloads/logstash-2
.2.2/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.5.1-java/lib/l
ogstash/outputs/elasticsearch/buffer.rb", :line=&gt;"90", :method=&gt;"interval_flush"
}←[0m
←[36mFlushing buffer at interval {:instance=&gt;"#&lt;LogStash::Outputs::ElasticSearch
::Buffer:0x1c5c037 @operations_mutex=#&lt;Mutex:0x10232bf&gt;, @max_size=500, @operati
ons_lock=#&lt;Java::JavaUtilConcurrentLocks::ReentrantLock:0x13dab47&gt;, @submit_proc
=#&lt;Proc:0x1b291cc@C:/Users/ADMIN/Downloads/logstash-2.2.2/vendor/bundle/jruby/1.
9/gems/logstash-output-elasticsearch-2.5.1-java/lib/logstash/outputs/elasticsear
ch/common.rb:57&gt;, @logger=#&lt;Cabin::Channel:0x461745 @metrics=#&lt;Cabin::Metrics:0x
153ff49 @metrics_lock=#&lt;Mutex:0x1808bcc&gt;, @metrics={}, @channel=#&lt;Cabin::Channel
:0x461745 ...&gt;&gt;, @subscriber_lock=#&lt;Mutex:0x24481f&gt;, @level=:debug, @subscribers
={12860=&gt;#&lt;Cabin::Outputs::IO:0x5791c0 @io=#&lt;IO:fd 1&gt;, @lock=#&lt;Mutex:0x1ceb4ed&gt;&gt;
}, @data={}&gt;, @last_flush=2016-02-26 13:49:14 +0530, @flush_interval=1, @stoppin
g=#&lt;Concurrent::AtomicBoolean:0x1ddd08f&gt;, @buffer=[], @flush_thread=#&lt;Thread:0x1
ba2760 run&gt;&gt;", :interval=&gt;1, :level=&gt;:debug, :file=&gt;"/Users/ADMIN/Downloads/logs
tash-2.2.2/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.5.1-java
/lib/logstash/outputs/elasticsearch/buffer.rb", :line=&gt;"90", :method=&gt;"interval_
flush"}←[0m
←[36mFlushing buffer at interval {:instance=&gt;"#&lt;LogStash::Outputs::ElasticSearch
::Buffer:0x19520ee @operations_mutex=#&lt;Mutex:0x1aaa984&gt;, @max_size=500, @operati
ons_lock=#&lt;Java::JavaUtilConcurrentLocks::ReentrantLock:0xa82ad5&gt;, @submit_proc=
#&lt;Proc:0x1cec15b@C:/Users/ADMIN/Downloads/logstash-2.2.2/vendor/bundle/jruby/1.9
/gems/logstash-output-elasticsearch-2.5.1-java/lib/logstash/outputs/elasticsearc
h/common.rb:57&gt;, @logger=#&lt;Cabin::Channel:0x461745 @metrics=#&lt;Cabin::Metrics:0x1
53ff49 @metrics_lock=#&lt;Mutex:0x1808bcc&gt;, @metrics={}, @channel=#&lt;Cabin::Channel:
0x461745 ...&gt;&gt;, @subscriber_lock=#&lt;Mutex:0x24481f&gt;, @level=:debug, @subscribers=
{12860=&gt;#&lt;Cabin::Outputs::IO:0x5791c0 @io=#&lt;IO:fd 1&gt;, @lock=#&lt;Mutex:0x1ceb4ed&gt;&gt;}
, @data={}&gt;, @last_flush=2016-02-26 13:49:14 +0530, @flush_interval=1, @stopping
=#&lt;Concurrent::AtomicBoolean:0x114bdef&gt;, @buffer=[], @flush_thread=#&lt;Thread:0x87
d59a run&gt;&gt;", :interval=&gt;1, :level=&gt;:debug, :file=&gt;"/Users/ADMIN/Downloads/logsta
sh-2.2.2/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.5.1-java/l
ib/logstash/outputs/elasticsearch/buffer.rb", :line=&gt;"90", :method=&gt;"interval_fl
ush"}←[0m
←[36mFlushing buffer at interval {:instance=&gt;"#&lt;LogStash::Outputs::ElasticSearch
::Buffer:0x558d42 @operations_mutex=#&lt;Mutex:0x927eb8&gt;, @max_size=500, @operation
s_lock=#&lt;Java::JavaUtilConcurrentLocks::ReentrantLock:0xade632&gt;, @submit_proc=#&lt;
Proc:0x150c229@C:/Users/ADMIN/Downloads/logstash-2.2.2/vendor/bundle/jruby/1.9/g
ems/logstash-output-elasticsearch-2.5.1-java/lib/logstash/outputs/elasticsearch/
common.rb:57&gt;, @logger=#&lt;Cabin::Channel:0x461745 @metrics=#&lt;Cabin::Metrics:0x153
ff49 @metrics_lock=#&lt;Mutex:0x1808bcc&gt;, @metrics={}, @channel=#&lt;Cabin::Channel:0x
461745 ...&gt;&gt;, @subscriber_lock=#&lt;Mutex:0x24481f&gt;, @level=:debug, @subscribers={1
2860=&gt;#&lt;Cabin::Outputs::IO:0x5791c0 @io=#&lt;IO:fd 1&gt;, @lock=#&lt;Mutex:0x1ceb4ed&gt;&gt;},
@data={}&gt;, @last_flush=2016-02-26 13:49:14 +0530, @flush_interval=1, @stopping=#
&lt;Concurrent::AtomicBoolean:0x12e78bb&gt;, @buffer=[], @flush_thread=#&lt;Thread:0x179e
0e8 run&gt;&gt;", :interval=&gt;1, :level=&gt;:debug, :file=&gt;"/Users/ADMIN/Downloads/logstas
h-2.2.2/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.5.1-java/li
b/logstash/outputs/elasticsearch/buffer.rb", :line=&gt;"90", :method=&gt;"interval_flu
sh"}←[0m
=#&lt;Proc:0x16ac2f0@C:/Users/ADMIN/Downloads/logstash-2.2.2/vendor/bundle/jruby/1.
9/gems/logstash-output-elasticsearch-2.5.1-java/lib/logstash/outputs/elasticsear
ch/common.rb:57&gt;, @logger=#&lt;Cabin::Channel:0x461745 @metrics=#&lt;Cabin::Metrics:0x
153ff49 @metrics_lock=#&lt;Mutex:0x1808bcc&gt;, @metrics={}, @channel=#&lt;Cabin::Channel
:0x461745 ...&gt;&gt;, @subscriber_lock=#&lt;Mutex:0x24481f&gt;, @level=:debug, @subscribers
={12860=&gt;#&lt;Cabin::Outputs::IO:0x5791c0 @io=#&lt;IO:fd 1&gt;, @lock=#&lt;Mutex:0x1ceb4ed&gt;&gt;
}, @data={}&gt;, @last_flush=2016-02-26 13:49:47 +0530, @flush_interval=1, @stoppin
g=#&lt;Concurrent::AtomicBoolean:0x1643384&gt;, @buffer=[], @flush_thread=#&lt;Thread:0x1
d2c50f run&gt;&gt;", :interval=&gt;1, :level=&gt;:debug, :file=&gt;"/Users/ADMIN/Downloads/logs
tash-2.2.2/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.5.1-java
/lib/logstash/outputs/elasticsearch/buffer.rb", :line=&gt;"90", :method=&gt;"interval_
flush"}←[0m
←[36mFlushing buffer at interval {:instance=&gt;"#&lt;LogStash::Outputs::ElasticSearch
::Buffer:0x558d42 @operations_mutex=#&lt;Mutex:0x927eb8&gt;, @max_size=500, @operation
s_lock=#&lt;Java::JavaUtilConcurrentLocks::ReentrantLock:0xade632&gt;, @submit_proc=#&lt;
Proc:0x150c229@C:/Users/ADMIN/Downloads/logstash-2.2.2/vendor/bundle/jruby/1.9/g
ems/logstash-output-elasticsearch-2.5.1-java/lib/logstash/outputs/elasticsearch/
common.rb:57&gt;, @logger=#&lt;Cabin::Channel:0x461745 @metrics=#&lt;Cabin::Metrics:0x153
ff49 @metrics_lock=#&lt;Mutex:0x1808bcc&gt;, @metrics={}, @channel=#&lt;Cabin::Channel:0x
461745 ...&gt;&gt;, @subscriber_lock=#&lt;Mutex:0x24481f&gt;, @level=:debug, @subscribers={1
2860=&gt;#&lt;Cabin::Outputs::IO:0x5791c0 @io=#&lt;IO:fd 1&gt;, @lock=#&lt;Mutex:0x1ceb4ed&gt;&gt;},
@data={}&gt;, @last_flush=2016-02-26 13:49:47 +0530, @flush_interval=1, @stopping=#
&lt;Concurrent::AtomicBoolean:0x12e78bb&gt;, @buffer=[], @flush_thread=#&lt;Thread:0x179e
0e8 run&gt;&gt;", :interval=&gt;1, :level=&gt;:debug, :file=&gt;"/Users/ADMIN/Downloads/logstas
h-2.2.2/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.5.1-java/li
b/logstash/outputs/elasticsearch/buffer.rb", :line=&gt;"90", :method=&gt;"interval_flu
sh"}←[0m
←[36mFlushing buffer at interval {:instance=&gt;"#&lt;LogStash::Outputs::ElasticSearch
::Buffer:0x1c5c037 @operations_mutex=#&lt;Mutex:0x10232bf&gt;, @max_size=500, @operati
ons_lock=#&lt;Java::JavaUtilConcurrentLocks::ReentrantLock:0x13dab47&gt;, @submit_proc
=#&lt;Proc:0x1b291cc@C:/Users/ADMIN/Downloads/logstash-2.2.2/vendor/bundle/jruby/1.
9/gems/logstash-output-elasticsearch-2.5.1-java/lib/logstash/outputs/elasticsear
ch/common.rb:57&gt;, @logger=#&lt;Cabin::Channel:0x461745 @metrics=#&lt;Cabin::Metrics:0x
153ff49 @metrics_lock=#&lt;Mutex:0x1808bcc&gt;, @metrics={}, @channel=#&lt;Cabin::Channel
:0x461745 ...&gt;&gt;, @subscriber_lock=#&lt;Mutex:0x24481f&gt;, @level=:debug, @subscribers
={12860=&gt;#&lt;Cabin::Outputs::IO:0x5791c0 @io=#&lt;IO:fd 1&gt;, @lock=#&lt;Mutex:0x1ceb4ed&gt;&gt;
}, @data={}&gt;, @last_flush=2016-02-26 13:49:47 +0530, @flush_interval=1, @stoppin
g=#&lt;Concurrent::AtomicBoolean:0x1ddd08f&gt;, @buffer=[], @flush_thread=#&lt;Thread:0x1
ba2760 run&gt;&gt;", :interval=&gt;1, :level=&gt;:debug, :file=&gt;"/Users/ADMIN/Downloads/logs
tash-2.2.2/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.5.1-java
/lib/logstash/outputs/elasticsearch/buffer.rb", :line=&gt;"90", :method=&gt;"interval_
flush"}←[0m
←[36mFlushing buffer at interval {:instance=&gt;"#&lt;LogStash::Outputs::ElasticSearch
::Buffer:0x3076ee @operations_mutex=#&lt;Mutex:0xf79a58&gt;, @max_size=500, @operation
s_lock=#&lt;Java::JavaUtilConcurrentLocks::ReentrantLock:0xc81d9e&gt;, @submit_proc=#&lt;
Proc:0x581ab2@C:/Users/ADMIN/Downloads/logstash-2.2.2/vendor/bundle/jruby/1.9/ge
ms/logstash-output-elasticsearch-2.5.1-java/lib/logstash/outputs/elasticsearch/c
ommon.rb:57&gt;, @logger=#&lt;Cabin::Channel:0x461745 @metrics=#&lt;Cabin::Metrics:0x153f
f49 @metrics_lock=#&lt;Mutex:0x1808bcc&gt;, @metrics={}, @channel=#&lt;Cabin::Channel:0x4
61745 ...&gt;&gt;, @subscriber_lock=#&lt;Mutex:0x24481f&gt;, @level=:debug, @subscribers={12
860=&gt;#&lt;Cabin::Outputs::IO:0x5791c0 @io=#&lt;IO:fd 1&gt;, @lock=#&lt;Mutex:0x1ceb4ed&gt;&gt;}, @
data={}&gt;, @last_flush=2016-02-26 13:49:47 +0530, @flush_interval=1, @stopping=#&lt;
Concurrent::AtomicBoolean:0xd96c3b&gt;, @buffer=[], @flush_thread=#&lt;Thread:0xa1b853
 run&gt;&gt;", :interval=&gt;1, :level=&gt;:debug, :file=&gt;"/Users/ADMIN/Downloads/logstash-2
.2.2/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.5.1-java/lib/l
ogstash/outputs/elasticsearch/buffer.rb", :line=&gt;"90", :method=&gt;"interval_flush"
}←[0m
</code></pre>