I am using an Ubuntu machine, and I have just finished downloading all of ELK onto it, I now want to create a Kibana Index pattern with Filebeat but it is not allowing me to do so. How can I fix this issue or find out why it's happening? Thank you!
.Hi @Maria_Elle,
Can you check to see filebeat is running and connected successfully to elasticsearch?
Thanks,
Liza
These does not mean data is being reach to elastic cluster and saved as index. this means daemon filebeat is running.
what is your filebeat.yml file on output section. are you directly sending to elk node?
do you have setup any kind of login in to kibana/elk? if yes you have to enable
username
password
default login is elastic:changeme
run this from your command line
curl -XGET localhost:9200/_cluster/health?pretty
{
"cluster_name" : "mycluster-1",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 21,
"active_shards" : 40,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 0,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0,
"task_max_waiting_in_queue_millis" : 0,
"active_shards_percent_as_number" : 100.0
}
then it is without password.
if you need password you do
curl -u elastic:changeme localhost:9200/_cluster/health?pretty
I do believe I have a username and a password that I created before when I was installing nginx. I used this command, changed the username at the end and entered a password when it prompted me to. sudo htpasswd -c /etc/nginx/htpasswd.users kibanaadmin
Below is the output of the first command you suggested. How can I enable the username/password?
Again, thank you very much for the help!
Don't worry about usename/password. first get your cluster up in green make sure you can connect from kibana and then concentrate on putting data in it.
it looks like it cluster is up but it is in yellow stat as you have one unassigned shards
run this
curl -XGET localhost:9200/_cat/shards?pretty
see one shard it is complaining about.
you can delete this index. restart your elastic stack and it will create new index. which version of ELK is this? this looks older version ( from logo)
curl -XDELETE localhost:9200/.kibana
Restart cluster
check it status.




