Site updated at 2016-08-22 08:21:42 UTC
This commit is contained in:
parent
f9d65cbe57
commit
4acb07bf8e
559 changed files with 18878 additions and 21688 deletions
|
@ -89,25 +89,23 @@
|
|||
<hr class="divider">
|
||||
|
||||
|
||||
<p>The <code>splunk</code> component makes it possible to log all state changes to an external <a href="http://splunk.com/">Splunk</a> database using Splunk’s HTTP Event Collector feature. You can either use this alone, or with the HomeAssistant for Splunk <a href="https://github.com/miniconfig/splunk-homeassistant">app</a>. Since the HEC feature is new to Splunk, you will need to use at least version 6.3.</p>
|
||||
<p>The <code class="highlighter-rouge">splunk</code> component makes it possible to log all state changes to an external <a href="http://splunk.com/">Splunk</a> database using Splunk’s HTTP Event Collector feature. You can either use this alone, or with the HomeAssistant for Splunk <a href="https://github.com/miniconfig/splunk-homeassistant">app</a>. Since the HEC feature is new to Splunk, you will need to use at least version 6.3.</p>
|
||||
|
||||
<p>To use the <code>splunk</code> component in your installation, add the following to your <code>configuration.yaml</code> file:</p>
|
||||
<p>To use the <code class="highlighter-rouge">splunk</code> component in your installation, add the following to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="comment"># Example configuration.yaml entry</span>
|
||||
<span class="key">splunk</span>:
|
||||
<span class="key">host</span>: <span class="string"><span class="content">SPLUNK_HOST_IP_ADDRESS_OR_HOST_NAME</span></span>
|
||||
<span class="key">port</span>: <span class="string"><span class="content">8088</span></span>
|
||||
<span class="key">token</span>: <span class="string"><span class="content">B4415DFF-683C-5C6C-3994-4F6D4A5DB03A</span></span>
|
||||
<span class="key">SSL</span>: <span class="string"><span class="content">True</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
|
||||
<span class="s">splunk</span><span class="pi">:</span>
|
||||
<span class="s">host</span><span class="pi">:</span> <span class="s">SPLUNK_HOST_IP_ADDRESS_OR_HOST_NAME</span>
|
||||
<span class="s">port</span><span class="pi">:</span> <span class="s">8088</span>
|
||||
<span class="s">token</span><span class="pi">:</span> <span class="s">B4415DFF-683C-5C6C-3994-4F6D4A5DB03A</span>
|
||||
<span class="s">SSL</span><span class="pi">:</span> <span class="s">True</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
|
||||
<p>Configuration variables:</p>
|
||||
|
||||
<ul>
|
||||
<li><strong>host</strong> (<em>Optional</em>): IP address or host name of your Splunk host, eg. http://192.168.1.10. Will default to <code>localhost</code> if not supplied.</li>
|
||||
<li><strong>host</strong> (<em>Optional</em>): IP address or host name of your Splunk host, eg. http://192.168.1.10. Will default to <code class="highlighter-rouge">localhost</code> if not supplied.</li>
|
||||
<li><strong>port</strong> (<em>Optional</em>): Port to use. Defaults to 8088.</li>
|
||||
<li><strong>token</strong> (<em>Required</em>): The HTTP Event Collector Token already created in your Splunk instance.</li>
|
||||
<li><strong>SSL</strong> (<em>Optional</em>): Use https instead of http to connect. Defaults to False.</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue