Here is my result for http://localhost:9200/_cat/indices?v
health status index pri rep docs.count docs.deleted store.size pri.store.size
yellow open custom 3 2 0 0 432b 432b
yellow open logstash-2013.11.06 1 1 2 0 3.1kb 3.1kb
I am not able to index the json data into kibana.
In above custom have json file.But it is showing docs.count as 0.
What is the modifications in elasticserach.yml and kibana.yml files to index tha data.
I am not using any Plugin.To import data am using logstash.
Previously i was able to visualize the data, but after some days it's not getting eventhough i didn't modify anything
See, You can debug the logstash.conf file using command like
logstash --debug logstash.conf
You will getting any Problems, first yo need check whether the logs are loaded into Elasticsearch server or not(means output of logstash rubydebug console)
Getting following error.
Clamp::UsageError: Unrecognised option '-d'
signal_usage_error at D:/ELK/logstash-1.5.2/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:103
find_option at D:/ELK/logstash-1.5.2/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/option/parsing.rb:62
parse_options at D:/ELK/logstash-1.5.2/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/option/parsing.rb:18
parse at D:/ELK/logstash-1.5.2/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:52
run at D:/ELK/logstash-1.5.2/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.2.2-java/lib/logstash/runner.rb:80
call at org/jruby/RubyProc.java:271
run at D:/ELK/logstash-1.5.2/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.2.2-java/lib/logstash/runner.rb:96
call at org/jruby/RubyProc.java:271
initialize at D:/ELK/logstash-1.5.2/vendor/bundle/jruby/1.9/gems/stud-0.0.20/lib/stud/task.rb:12
Getting No configuration file was specified. Perhaps you forgot to provide the '-f yourlogstash.conf' flag?
But it running correctly when i run logstash -f logstash.conf
Here is my logstash.conf file
input {
file {
path => "D:/Log/log1.txt"
type => "core2"
start_position => "beginning"
}
}
filter {
csv {
columns => ["TYPE","TIMESTAMP", "MESSAGE", "APPNAME"]
separator => ","
}
}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.