CSIRT-MU / Stream4Flow

A framework for the real-time network traffic analysis based on world-leading technologies for distributed stream processing, network traffic monitoring, and visualization.
https://csirt.muni.cz/?lang=en
MIT License
99 stars 36 forks source link

Web app to elastic connection #6

Closed tomjirsa closed 7 years ago

tomjirsa commented 7 years ago

Can be elasticsarch connection set automatically, according to deploymnet?

During usage on openstack cluster, following error occured:

Error: Elasticsearch query exception: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f5674103150>: Failed to establish a new connection: [Errno -2] Name or service not known) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f5674103150>: Failed to establish a new connection: [Errno -2] Name or service not known)

cermmik commented 7 years ago

Check if hostnames ("consumer", ...) on the web server are correct.

tomjirsa commented 7 years ago

Hostname/ip of a machine with ipfix: sec-cloud-producer 192.168.0.5 Inventory file of ansible: producer 192.168.0.5 /etc/hosts on machine with ipfix: producer 192.168.0.5

During the github deployment of the web a hostname can not be static but must be changen in webapp accrodingly to the inventory file (= real host name)

tomjirsa commented 7 years ago

Dynamic hostnames configuration in web will be added during the web installation in CSIRT-MU/Stream4Flow/issues/10