<commit_before># kibana-dashboard-api
List/create/delete Kibana visualizations and dashboards directly manipulating Elasticsearch index.

[![Build Status](https://travis-ci.org/harabchuk/kibana-dashboard-api.svg?branch=master)](https://travis-ci.org/harabchuk/kibana-dashboard-api)

## Intro

### Visualizations

```python
from kibana_dashboard_api import Visualizations, Dashboards
from elasticsearch import Elasticsearch

es_connection = Elasticsearch(hosts=['http://login:pass@localhost:9200/'])
<commit_msg>Fixed the example<commit_after># kibana-dashboard-api
List/create/delete Kibana visualizations and dashboards directly manipulating Elasticsearch index.

[![Build Status](https://travis-ci.org/harabchuk/kibana-dashboard-api.svg?branch=master)](https://travis-ci.org/harabchuk/kibana-dashboard-api)

## Intro

### Visualizations

```python
from kibana_dashboard_api import VisualizationsManager, DashboardsManager
from elasticsearch import Elasticsearch

es_connection = Elasticsearch(hosts=['http://login:pass@localhost:9200/'])

{'fraction_non_alphanumeric': 0.12115384615384615, 'fraction_numerical': 0.007692307692307693, 'mean_word_length': 7.463414634146342, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '845791', 'n_tokens_mistral': 327, 'n_tokens_neox': 330, 'n_words': 56}