GithubHelp home page GithubHelp logo

Comments (26)

amannocci avatar amannocci commented on September 28, 2024 1

Hi @macadminrohit,
Unfortunately you can't use git archive as it.
If you want to install this plugin using kibana-plugin you can follow those steps :

  1. Create a new directory kibana
  2. In this new directory create a new one metric_percent_vis
  3. In this new directory extract the git archive or execute a git clone
  4. Now create a new archive that contains the directory kibana
  5. You have now an archive with kibana/metric_percent_vis/content_of_archive
  6. You can now run ./kibana-plugin install file://....

If you have any problem, please tell me

from kibana-plugin-metric-percent.

macadminrohit avatar macadminrohit commented on September 28, 2024

Transferring 90916 bytes....................
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Plugin installation was unsuccessful due to error "Incorrect Kibana version in plugin [metric_percent_vis]. Expected [5.5.1]; found [5.5.0]"

from kibana-plugin-metric-percent.

macadminrohit avatar macadminrohit commented on September 28, 2024

I changed the version in package.json file and i get this output:

[root@ip-10-206-118-250 uns114]# /usr/share/kibana/bin/kibana-plugin install file:///home/uns114/kibana.zip
Attempting to transfer from file:///home/uns114/kibana.zip
Transferring 90915 bytes....................
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Plugin metric_percent_vis already exists, please remove before installing a new version

Hope the plugin is not installed. How to a validate?

from kibana-plugin-metric-percent.

macadminrohit avatar macadminrohit commented on September 28, 2024

[root@ip-10-206-118-250 user]# /usr/share/kibana/bin/kibana-plugin remove kibana-plugin-metric-percent
Removing kibana-plugin-metric-percent...
[root@ip-10-206-118-250 user]# /usr/share/kibana/bin/kibana-plugin list
[email protected]
[email protected]

from kibana-plugin-metric-percent.

amannocci avatar amannocci commented on September 28, 2024

Try to remove metric_percent_vis instead of kibana-plugin-metric-percent.

from kibana-plugin-metric-percent.

macadminrohit avatar macadminrohit commented on September 28, 2024

I deleted all the plugins and installed it again, it again installed [email protected]

from kibana-plugin-metric-percent.

amannocci avatar amannocci commented on September 28, 2024

That's normal, metric_percent_vis is the plugin name.

from kibana-plugin-metric-percent.

macadminrohit avatar macadminrohit commented on September 28, 2024

I think this plugin messed with my kibana , i restarted it and it was fine, but the UI doesnt load. i get connection error on port 5601
curl -XGET http://localhost:5601
curl: (7) Failed connect to localhost:5601; Connection refused
systemd[1]: Started Kibana.
Aug 18 17:37:55 IP systemd[1]: Starting Kibana...
Aug 18 17:38:03 IP kibana[22741]: {"type":"log","@timestamp":"2017-08-18T17:38:03Z","tags":["info","optimize"],"pid":22741,"message":"Optimizing and caching bundles for kibana, stateSessionStorageRedirect, timelion and status_page. This may take a few minutes"}

from kibana-plugin-metric-percent.

macadminrohit avatar macadminrohit commented on September 28, 2024

And i have removed all the plugins but it is not working anymore

from kibana-plugin-metric-percent.

amannocci avatar amannocci commented on September 28, 2024

When you have this message => {"type":"log","@timestamp":"2017-08-18T17:38:03Z","tags":["info","optimize"],"pid":22741,"message":"Optimizing and caching bundles for kibana, stateSessionStorageRedirect, timelion and status_page. This may take a few minutes"} you have to wait a moment before you can use Kibana.
This operation can be very slow.

from kibana-plugin-metric-percent.

macadminrohit avatar macadminrohit commented on September 28, 2024

How long should i wait? Do i need to restart the server? Usually restart kibana daily and it doesnt take this much time and i dont see any logs being created in /var/log/kibana

from kibana-plugin-metric-percent.

macadminrohit avatar macadminrohit commented on September 28, 2024

Thanks i see it up and running again, Can i install the X-pack and you plugin again? Do i need to restart kibana after that?

from kibana-plugin-metric-percent.

amannocci avatar amannocci commented on September 28, 2024

If you want to install a plugin.
Just stop your kibana, install all plugins and then restart your kibana.
You have to wait a little bit during the optimize step and after that if everything is good you can use Kibana.
The optimize step is execute only when Kibana detect some change like for example when you install a plugin if I remember.

from kibana-plugin-metric-percent.

amannocci avatar amannocci commented on September 28, 2024

@macadminrohit Your problem is solved ?

from kibana-plugin-metric-percent.

unreal4u avatar unreal4u commented on September 28, 2024

Thanks for the above instructions! It certainly helped me install the plugin!

Isn't there a way that this could be automatized? Or was this recently changed by Kibana? (Sorry if it's a noob question, I'm still quite new at this, my first install was last week).

Greetings.

from kibana-plugin-metric-percent.

macadminrohit avatar macadminrohit commented on September 28, 2024

@amannocci Yes i was able to start kibana successfully , what i am looking from this plugin is calculating percentage of successful transactions over total transactions. I have a field "TransactionStatus" whose value could be "Success" or "Failure". i want to calculate the percentage of Success Transactions over Total. is it possible with your plugin?

from kibana-plugin-metric-percent.

amannocci avatar amannocci commented on September 28, 2024

@unreal4u I will create a little script to create the right structure.

@macadminrohit This is the purpose of this plugin. You can follow instructions in README to do this.

from kibana-plugin-metric-percent.

macadminrohit avatar macadminrohit commented on September 28, 2024

@amannocci I read the README but i dont see the partition option under the metric visualization.

image

from kibana-plugin-metric-percent.

amannocci avatar amannocci commented on September 28, 2024

@macadminrohit Please check if you select Percent Metric and not Metric.

from kibana-plugin-metric-percent.

macadminrohit avatar macadminrohit commented on September 28, 2024

I dont see that visualisation option at all. I only see metric.

from kibana-plugin-metric-percent.

amannocci avatar amannocci commented on September 28, 2024

capture du 2017-08-22 17-17-44
If the plugin is installed and running then you will see this option.

from kibana-plugin-metric-percent.

macadminrohit avatar macadminrohit commented on September 28, 2024

It says that plugin is installed, but i dont see this visualisation :(

./kibana-plugin list
[email protected]
[email protected]

from kibana-plugin-metric-percent.

macadminrohit avatar macadminrohit commented on September 28, 2024

@amannocci anything else i can check?

from kibana-plugin-metric-percent.

amannocci avatar amannocci commented on September 28, 2024

@macadminrohit I will try to reproduce.

from kibana-plugin-metric-percent.

karnamonkster avatar karnamonkster commented on September 28, 2024

Hi,
Facing the similar issue with v5.4.1
followed these steps

  • Create a new directory kibana
    
  • In this new directory create a new one metric_percent_vis
    
  • In this new directory extract the git archive or execute a git clone
    
  • Now create a new archive that contains the directory kibana
    
  • You have now an archive with kibana/metric_percent_vis/content_of_archive
    
  • You can now run ./kibana-plugin install file://....
    

Could you please confirm if i need to zip the content again? before running
bin/kibana-plugin install file:///location/to/the/.zip

Tried this as well.

bin/kibana-plugin install file:///home/socadmin/kibana-plugin-metric-percent-5.4.1.zip 
Attempting to transfer from file:///home/socadmin/kibana-plugin-metric-percent-5.4.1.zip
Transferring 91058 bytes....................
Transfer complete
Retrieving metadata from plugin archive
Plugin installation was unsuccessful due to error "No kibana plugins found in archive"
[root@mastersoc kibana]# 

from kibana-plugin-metric-percent.

amannocci avatar amannocci commented on September 28, 2024

This issue is now address => 642befb
Just follow instruction in README and everything will be fine.

from kibana-plugin-metric-percent.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.