hyperledger-labs / blockchain-analyzer

Analyze ledger data stored within a Hyperledger Fabric peer (key updates and operational data such as number of blocks and transactions).
Apache License 2.0
23 stars 17 forks source link

Configure Kibana URL. #35

Closed ashishxooa closed 4 years ago

ashishxooa commented 4 years ago

Hi,

I have been trying to use this project with my existing elasticsearch and kibana setup. Fabric beat is however not reading the kibana configurations. I did try many things but it always always connects to localhost. 2019-12-02T05:02:07.902Z INFO kibana/client.go:117 Kibana url: http://localhost:5601

Did config in fabricbeat.yml as mentioned in the readme and also in many other places still always localhost. Did anyone try with external kibana for this project?

balazsprehoda commented 4 years ago

I think the cause of this issue is a missing configuration in fabricbeat.yml. Add your configuration here as

setup.kibana:
  host: "yourhost:yourport"

Sorry for bad docs. We have not tested this project with external Kibana or Elasticsearch servers yet. Please let me know if this helped and I will update the documentation.

balazsprehoda commented 4 years ago

@ashishxooa did you manage to solve your problem?

ashish235 commented 4 years ago

@balazsprehoda thanks for following-up. I think it did, but there were some other issues, which I don't remember now. I gave up on this and would pick it up later. You might want to close the issue for now.

balazsprehoda commented 4 years ago

@ashishxooa We have released a containerized version of fabricbeat to make it easier to deploy. I suggest you to try that when you pick it up again. For details, see #37