I tried to run the plugin generator included in Kibana 7.0.0-alpha, but generate_plugin.js script doesn't exist after upgrading Kibana by running the .deb installation file for Kibana 7.0.0-alpha. I know I successfully installed Kibana 7.0.0-alpha because it runs properly through the browser. In addition, I attempted to run the script directly from clone of the git repo but I got a "Error: Cannot find module '#kbn/plugin-generator'" error. Do I have to manually define the generate_plugin script? I wasn't even able to find a scripts folder within my Kibana installation directory.
Related
When I try to run any kubectl command including kubectl version, I get a pop-up saying "This app can't run on your PC, To find a version for your PC, check with the software publisher" when this is closed, the terminal shows "access denied"
The weird thing is, when I run the "kubectl version" command in the directory where I have downloaded kubectl.exe, it works fine.
I have even added this path to my PATH variables.
thank you for the answer, #rally
apparently, in my machine, it was an issue of administrative rights during installation. My workplace's IT added the permission and it worked for me.
Adding this answer here so that if anyone else comes across this problem they can try this solution as well.
Not knowing what exactly you downloaded, i would suggest you to delete everying in the folder and follow the instructions for installing kubectl for Windows from here:
https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/
Note: downloading the .exe is not enough. You need a kubeconfig file "config", which contains the configuration to access your cluster.
kubectl looks for this file in a hidden folder under your user profile directory. c:\users<me>.kube.
Just to let you try, i would suggest you to activate Kubernetes in your Docker-Desktop installation. I guess you have this installed. If not install it from the Dockersite. https://www.docker.com/products/docker-desktop/
Activating Kubernetes inside Docker-desktop, will install also kubectl and save the config in the .kube folder.
After the installation finished, in a new terminal:
kubectl get node
You should see the 1 node in the kubernetes-docker-desktop cluster.
Now if you want to access another cluster, you need the kubeconfig-file for that cluster. If you have it, just rename the config in the .kube folder (to not loose it) and put the other config inside.
If the new config file is correct you should be able to access that cluster.
The config file can be structured to hold more than one cluster configuration and you can switch between them using a so called context.
Here you can get the information how to do that, according to your needs:
https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/
Hope this can help you, starting with KUbernetes.
This isn't stopping me from running kibana locally, I'd just like to better understand the mechanics for whatever script starts the service.
What I've noticed is that from my local Kibana (kibana-7.14.2-darwin-x86_64), there is a bin folder with a kibana Unix executable file in it. From this root directory, i can run bin/kibana to presumably execute the kibana file and start the service, but if I run cd bin, then kibana, I get command not found: kibana.
What am I missing here?
Thanks!
I was getting this windows service error due to a recent Java update on my local machine.
I was finally able to resolve it by following the steps below:
Go to 'System Environment Variables'
Verify 'JAVA_HOME' is pointing to the correct location. If not, change it.
C:\Program Files\Java\jdk-13.0.1
Go to the 'bin' folder for elastic-search-7.4.2 and run below commands to remove and reinstall the service.
C:\elasticsearch-7.4.2\bin elasticsearch-service.bat remove
C:\elasticsearch-7.4.2\bin elasticsearch-service.bat install
I installed ELK on Ubuntu, all is working fine. (being able to browse to Kibana from http://sample:5601/app/kibana)
I installed Kibana time-lion plugin following these guidelines:
https://www.elastic.co/blog/timelion-timeline
mlast#elk:/$ sudo docker run -i -t kibana /bin/bash
root#2816533dd8a5:/# cd bin
root#2816533dd8a5:/bin# kibana plugin -i kibana/timelion
Installing timelion
Attempting to extract from https://download.elastic.co/kibana/timelion/timelion-latest.tar.gz
Downloading 3381940 bytes....................
Extraction complete
Optimizing and caching browser bundles...
Plugin installation complete
After installation I was expecting to see the Kibana app chooser icon but it does not exist. moreover when trying to browse to this url http://sample:5601/app/timelion I am getting
{"statusCode":404,"error":"Not Found","message":"Unknown app timelion"}
What seems to be the issue? I also trying to install other Kibana plugin such as Marvel but still, I am not being able to see the icon
You need restart kibana for load the new plugins.
Additional you are using docker, add persistence in plugins
sudo docker run -i -t -v /to/path/host/plugins:/opt/kibana/installedPlugins kibana
I'd like to view my machine's syslogs more beautifully on an ubuntu desktop. I notice that all the kibana documentation is oriented towards remote servers (which makes sense). However, how would I securely view the same information about my local machine?
Here are some things I've read that were not helpful because they were designed for remote access:
https://www.digitalocean.com/community/tutorials/how-to-use-logstash-and-kibana-to-centralize-logs-on-centos-7
Kibana deployment issue on server . . . client not able to access GUI
http://www.elasticsearch.org/overview/kibana/installation/ which has the following problems:
there is no config.js to open in an editor per step 2, you can see this very plainly on their github page: https://github.com/elasticsearch/kibana
running
~/kibana/src/server/bin$ bash kibana.sh
The Kibana Backend is starting up... be patient
Error: Unable to access jarfile ./../lib/kibana.jar
How do I install kibana locally?
Not sure if you're still looking for an answer, but for future searchers:
What you can do is download elasticsearch - http://www.elasticsearch.org/overview/elkdownloads/
Extract it, and create a plugins subdirectory. Then, within the /plugins directory create a /kibana/_site subdirectory.
Then, download kibana using the above mentioned link. Extract the archive, then edit config.js to point to the localhost as the elasticsearch host:
elasticsearch: "http://localhost:9200",
Copy all of the contents of the folder you extracted kibana into to the /kibana/_site directory you created inside the elasticsearch folder.
Then start elasticsearch:
within the elasticsearch directory -
bin/elasticsearch
Kibana will now run off of the same 'server' as elasticsearch, on your local host.
UPDATE: Kibana 4 comes bundled with a web server now: see the docs