Kibana Console

When i call a config file via elasticsearch n try to see the csv files parameters in kibana it gives following error:

console query
get /cars/_search
{
"query": {
"match_all": {}
}
}

error

{
"error": {
"root_cause": [
{
"type": "index_not_found_exception",
"reason": "no such index",
"resource.type": "index_or_alias",
"resource.id": "cars",
"index_uuid": "na",
"index": "cars"
}
],
"type": "index_not_found_exception",
"reason": "no such index",
"resource.type": "index_or_alias",
"resource.id": "cars",
"index_uuid": "na",
"index": "cars"
},
"status": 404
}

Please help!

Does the index exist?

how to check that?
Following is my config file:

strong text

input{
file{
path => "C:\Users\shraddhasrivastav\Downloads"
start_position => "beginning"
sincedb_path => "dev/null"
}
}
filter{
csv{
seperator => ","

	columns => ["TimeOfDay", "BMU_Debug_Wnty_Tot_s_NRuntwo","RBMU_Stats_Temp_Cell_Max"]
}

	mutate{convert => ["TimeOfDay", "timestamp"] }
	mutate{convert => ["BMU_Debug_Wnty_Tot_s_NRuntwo", "integer"] }
	mutate{convert => ["RBMU_Stats_Temp_Cell_Max", "float"] }

}

output{
elasticsearch{
hosts => "localhost:9200"
index => "cars"
document_type => "sold_cars"

}
	stdout {
		codec => rubydebug
		}

}

Try the _cat API.

gives following

=^.^=
/_cat/allocation
/_cat/shards
/_cat/shards/{index}
/_cat/master
/_cat/nodes
/_cat/tasks
/_cat/indices
/_cat/indices/{index}
/_cat/segments
/_cat/segments/{index}
/_cat/count
/_cat/count/{index}
/_cat/recovery
/_cat/recovery/{index}
/_cat/health
/_cat/pending_tasks
/_cat/aliases
/_cat/aliases/{alias}
/_cat/thread_pool
/_cat/thread_pool/{thread_pools}
/_cat/plugins
/_cat/fielddata
/_cat/fielddata/{fields}
/_cat/nodeattrs
/_cat/repositories
/_cat/snapshots/{repository}
/_cat/templates

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