-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HPCC-32699 Encode all ALA response data
- Encodes all response log data from ALA Signed-off-by: Rodrigo Pastrana <[email protected]>
- Loading branch information
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
helm/managed/logging/loki-stack/grafana-hpcc-logaccess-baremetal.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<Environment> | ||
<global> | ||
<!-- logAccess element should be injected into active environment.xml--> | ||
<logAccess name="grafanalogaccess" type="GrafanaCurl"> | ||
<!--username/pass only if secret not available!!--> | ||
<connection protocol="http" port="3000" host="localhost" username="admin" password=""/> | ||
<datasource name="Loki" id="1"/> <!-- Find this info from Grafana: http://localhost:3000/api/datasources/ --> | ||
<namespace name="hpcc"/> | ||
<logFormat type="table"/> <!--optional, only needed if HPCC log format set to XML or JSON--> | ||
<logMaps type="global" searchColumn="log" columnMode="DEFAULT" columnType="string"/> | ||
<logMaps type="timestamp" searchColumn="tsNs" columnMode="MIN" storeName="values" columnType="epoch"/> | ||
<!-- logmaps based on streams can be found via http://localhost:3000/api/datasources/proxy/1/loki/api/v1/labels --> | ||
<logMaps type="components" searchColumn="component" columnMode="ALL" storeName="stream" columnType="string"/> | ||
<logMaps type="node" searchColumn="node_name" columnMode="ALL" storeName="stream" columnType="string"/> | ||
<logMaps type="pod" searchColumn="pod" columnMode="DEFAULT" storeName="stream" columnType="string"/> | ||
</logAccess> | ||
</global> | ||
</Environment> |