anchor.diff:    path: openshift.local.manifests
     fileCheckIntervalSeconds: 10
   ----
  +====
   
   To create the logging pod, create a file with the following contents in the
  -`podManifestConfig.path` directory:
  +directory specified by `*podManifestConfig.path*` above:
  +
  +====
   
   [source,yaml]
   ----
  
positive.code:     hostPath:
        path: /var/lib/docker/containers
  ----
  
  This will start a pod on the node & post the container logs to Elasticsearch.
  
  ## Validate
  
  To validate it is working, we will query Elasticsearch & check that the data is
  correctly being persisted. First, we need to identify one of the Elasticsearch
  pods:
  
  [source,bash]
  ----
  oc get pods -l component=elasticsearch
  ----
  
  And then we can query Elasticsearch, replacing the pod ID with one returned
  from the above call:
  
  [source,bash]
  ----
  oc exec -p <podID> -c elasticsearch -- curl -s localhost:9200/_cat/indices?v
  ----
  
  You should see output similar to the following:
  
  ```
  health status index               pri rep docs.count docs.deleted store.size pri.store.size
  yellow open   logstash-2015.06.05   5   1        540            0      251kb          251kb
  ```
  
  If the value for `docs.count` is more than 0, then log records are being sent
  to Elasticsearch & you're all set.
  
  == Creating Kibana service
  
  To create the Kibana service save the following spec to your filesystem:
  
  [souce,yaml]
  ----
  apiVersion: "v1"
  kind: "List"
  
negative.code:         require_ack_response true
          heartbeat_type tcp
          <server>
            name logging_name <1>
            host host_name <2>
            port 24224
            weight 60
          </server>
  