As root
curl -s 'http://localhost:9200/_cat/indices?v'
Gives:
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
green open .kibana_1 vmG8X7ucTPWOTDn-YQxaow 1 0 3 0 11.9kb 11.9kb
My /etc/logstash/logstash.conf file is:
input {
file {
"path" => "/s3/my_bucket/misc_info/2018-12-06/HWM/*"
start_position => "beginning"
}
}
filter {
grok{
match => [ "message", "%{TIMESTAMP_ISO8601:timestamp}" ]
}
date{
match => [ "timestamp", "yyyy-MM-dd HH:mm:ss,SSSZ" ]
target => "timestamp"
}
}
output {
elasticsearch {
"hosts" => "127.0.0.1"
"index" => "time2_hwm"
"id" => "time2_hwm"
}
}
According to what I have read, time2_hwm should show up in the above curl output. Are there owner/role restrictions on indexes? Note, that I am restarting logstash with 'systemctl restart logstash' with each change of my /etc/logstash/logstash.conf file.
Does what user logstash is run as, make a difference in the access to the index that is created?
What user should I be when doing the above curl command? root elasticsearch kibana or any user?
Where do I go to change the user/role/ownership/permissions in Kibana?
I have not seen any errors in /var/log/syslog indicating problems, but no index.
THANKS for your help!