How to display VaultMonitor in splunk when SendMonitoringMessage=yes
Symptom
1. Configuration: DBPARM.ini SendMonitoringMessage=yes
2. Restarted vault
3. On splunk .... i can see the messages from vault, just not able to find VaultMonitor message.
Environment
10.10;11.1;11;14.2 Privileged Access Manager (PAM, self-hosted) Vault Server
Vault/Splunk
Cause
The reference xsl file does not have parse information related to monitor_record.
Resolution
After the closure of <xsl:for-each select="syslog/audit_record"> xxx</xls:foreach>
Add this
<xsl:for-each select="syslog/monitor_record">CEF:0|<xsl:value-of select="Vendor"/>|<xsl:value-of select="Product"/>|<xsl:value-of select="Version"/>|<xsl:value-of select="AverageExecutionTime"/>|<xsl:value-of select="MaxExecutionTime"/>|<xsl:value-of select="AverageQueueTime"/>|<xsl:value-of select="MaxQueueTime"/>|<xsl:value-of select="NumberOfParallelTasks"/>|<xsl:value-of select="MaxParallelTasks"/>|<xsl:value-of select="TransactionCount"/>|<xsl:value-of select="CPUUsage"/>|<xsl:value-of select="MemoryUsage"/>|<xsl:value-of select="DriveFreeSpaceInGB"/>|<xsl:value-of select="DriveTotalSpaceInGB"/>|<xsl:value-of select="SyslogQueueSize"/>
</xsl:for-each>
save change, restart vault.
You can expect result: Cyber-Ark|VaultMonitor on Splunk dashboard.