Skip to content

Commit

Permalink
HPCC-28758 Update docs for elastic4hpcclogs chart info
Browse files Browse the repository at this point in the history
Signed-off-by: g-pan <[email protected]>
  • Loading branch information
g-pan committed Oct 12, 2023
1 parent 8bdaa6b commit 7c6b6e3
Showing 1 changed file with 16 additions and 37 deletions.
53 changes: 16 additions & 37 deletions docs/EN_US/ContainerizedHPCC/ContainerizedMods/ContainerLogging.xml
Original file line number Diff line number Diff line change
Expand Up @@ -281,35 +281,16 @@ myelk-kibana LoadBalancer 10.110.129.199 localhost 5601:31465/TCP 68m
values file and we provide an example command line that inserts that
values file into your deployment.</para>

<para>These are the Elastic4HPCCLogs values:</para>

<programlisting># Configures HPCC logAccess to target elastic4hpcclogs deployment
global:
logAccess:
name: "Elastic4HPCCLogs"
type: "elasticstack"
connection:
protocol: "http"
host: "elasticsearch-master.default.svc.cluster.local"
port: 9200
logMaps:
- type: "global" #These settings apply to all log mappings
storeName: "hpcc-logs*" #Logs are expected to be housed in ES inde
searchColumn: "message" #The 'message' field is to be targeted for
timeStampColumn: "@timestamp" #The '@timestamp' field contains time log
- type: "workunits" #Search by workunits specific log mapping
storeName: "hpcc-logs*" # Only needed if differs from global.store
searchColumn: "hpcc.log.jobid" # Field containing WU information
- type: "components" #Search by components specific log mapping
searchColumn: "kubernetes.container.name" # Field containing container information
- type: "audience" #Search by audience specific log mapping
searchColumn: "hpcc.log.audience" # Field containing audience information
- type: "class" #Search by log class specific log mapping
searchColumn: "hpcc.log.class" # Field containing log class information
- type: "instance" #Search by log source instance specific ma
searchColumn: "kubernetes.pod.name" # Field containing source instance informa
- type: "host" #Search by log source host specific mappin
searchColumn: "kubernetes.node.hostname" # Field containing source host information</programlisting>
<para>These are the Elastic4HPCCLogs values can be found on the
HPCC-Systems Platform repository:</para>

<para> <ulink
url="https://github.com/hpcc-systems/HPCC-Platform">https://github.com/hpcc-systems/HPCC-Platform</ulink>
</para>

<para>Then navigating to the
<emphasis>helm/examples/azure/log-analytics/loganalytics-hpcc-logaccess.yaml</emphasis>
file. </para>

<para>You can use the delivered Elastic4HPCCLogs chart, provided on
https://github.com/hpcc-systems/HPCC-Platform/tree/master/helm/managed/logging/elastic
Expand All @@ -318,8 +299,6 @@ global:
as:</para>

<programlisting>helm install mycluster hpcc/hpcc -f elastic4hpcclogs-hpcc-logaccess.yaml</programlisting>

<para></para>
</sect3>
</sect2>
</sect1>
Expand Down Expand Up @@ -619,10 +598,10 @@ ContainerLog
<title>Target Audience Filtering</title>

<para>The availble target audiences include operator(OPR), user(USR),
programmer(PRO), monitor(MON), audit(ADT), or all. The filter is controlled by the
&lt;section&gt;.logging.audiences value. The string value is comprised
of 3 letter codes delimited by the aggregation operator (+) or the
removal operator (-).</para>
programmer(PRO), monitor(MON), audit(ADT), or all. The filter is
controlled by the &lt;section&gt;.logging.audiences value. The string
value is comprised of 3 letter codes delimited by the aggregation
operator (+) or the removal operator (-).</para>

<para>For example, all component log output to include Programmer and
User messages only:</para>
Expand All @@ -634,8 +613,8 @@ ContainerLog
<title>Target Category Filtering</title>

<para>The available target categories include disaster(DIS), error(ERR),
information(INF), warning(WRN), progress(PRO), event(EVT), metrics(MET). The
category (or class) filter is controlled by the
information(INF), warning(WRN), progress(PRO), event(EVT), metrics(MET).
The category (or class) filter is controlled by the
&lt;section&gt;.logging.classes value, comprised of 3 letter codes
delimited by the aggregation operator (+) or the removal operator
(-).</para>
Expand Down

0 comments on commit 7c6b6e3

Please sign in to comment.