Fix token var (#7989)

This commit is contained in:
Fabian Affolter 2018-12-30 18:35:01 +01:00 committed by Franck Nijhof
parent 291909389c
commit 3e60d3ec82

View File

@ -14,12 +14,14 @@ ha_release: 0.13
The `splunk` component makes it possible to log all state changes to an external [Splunk](http://splunk.com/) database using Splunk's HTTP Event Collector (HEC) feature. You can either use this alone, or with the Home Assistant for Splunk [app](https://github.com/miniconfig/splunk-homeassistant). Since the HEC feature is new to Splunk, you will need to use at least version 6.3. The `splunk` component makes it possible to log all state changes to an external [Splunk](http://splunk.com/) database using Splunk's HTTP Event Collector (HEC) feature. You can either use this alone, or with the Home Assistant for Splunk [app](https://github.com/miniconfig/splunk-homeassistant). Since the HEC feature is new to Splunk, you will need to use at least version 6.3.
## {% linkable_title Configuration %}
To use the `splunk` component in your installation, add the following to your `configuration.yaml` file: To use the `splunk` component in your installation, add the following to your `configuration.yaml` file:
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
splunk: splunk:
token: B4415DFF-683C-5C6C-3994-4F6D4A5DB03A token: YOUR_SPLUNK_TOKEN
``` ```
{% configuration %} {% configuration %}
@ -28,7 +30,7 @@ token:
required: true required: true
type: string type: string
host: host:
description: "IP address or host name of your Splunk host e.g., 192.168.1.10." description: "IP address or host name of your Splunk host, e.g., 192.168.1.10."
required: false required: false
default: localhost default: localhost
type: string type: string