def store_kibana_dashboard(dashboard_path, collector_ip, kibana_port,
    dashboard_id):
    """Store dashboard webpage"""
    with open(dashboard_path, 'w') as dfd:
        html = (
            '<iframe src="http://{0}:{1}/app/kibana#/dashboard/{2}?embed=true&_g=()" height=1000\\% width=100\\%></iframe>'
            .format(collector_ip, kibana_port, dashboard_id))
        dfd.write(html)
