Since I installed before but failed to grab those values, I started over.
What this is telling me is that ES maintains a hidden record, which I cannot find.
This is on a Mac. There is no ~/.elastic fie anywhere.
In a sense, I'm asking how to purge my computer of the old install besides just deleting the directory.
What I’ve found is that if you haven’t purged Elasticsearch, that is if you have leftover Elasticsearch.yml config file the next reinstall will use the settings from the file.
It won’t try to bootstrap or setup security like on a fresh clean install
Thanks! In my case I sent the entire folder to the trash and emptied it. AFIK, the old installation is gone entirely. what is now interesting is this: the trash was not empty before. Now that it is empty, a boot gave all the data I need.
It looks to me like the solution was to ensure that the old install was vaporized before booting a fresh install.
Thanks!
I am not out of the water. Kibana does not like the password. Maybe I'll have to open another request; it's not clear what the default username is for kibana.
a lot of the googleverse thinks it's "admin" but that doesn't work.
Elastic 8+ doc suggests "elastic" but that doesn't work.
Great reply. Thanks
Kibana was purged from the system and reinstalled. Yes from the tgz downloads.
I used elastic and precisely the password handed to me in the console. I'm not yet to the token submission.
I suspect there are old autogenerated configurations in your kibana.yml
that looks something like this... the below gets added *After you past the enrollment token in ... if it is already there ... its leftover from a pervious configuration.
# This section was automatically generated during setup.
elasticsearch.hosts: ['https://192.168.1.159:9200']
elasticsearch.serviceAccountToken: AAEAAWVsYXN0aWMva2liYW5hL2Vucm9sbC1wcm9jZXNzLXRva2VuLTE2NTQ5OTk4MDk3NDY6a29NYVRMSlJSU085cldONTdjNHNDUQ
elasticsearch.ssl.certificateAuthorities: [/Users/sbrown/workspace/elastic-install/8.2.2/kibana-8.2.2/data/ca_1654999810637.crt]
xpack.fleet.outputs: [{id: fleet-default-output, name: default, is_default: true, is_default_monitoring: true, type: elasticsearch, hosts: ['https://192.168.1.159:9200'], ca_trusted_fingerprint: 8056fc1d72a4848676f66a328745fc3d10e7067be595740f196fb68803e7cb83}]
That's right. I did not notice that; it seems clear to me that the old token I put in from before is still around. I guess I need to purge kibana one more time and try again. Thanks!
In case this happens again and you do not want to lose data you can just clean out the autogenerate stuff at the bottom of the kibana.yml and from elasticsearch directory run
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.