All Apps and Add-ons

Splunk Add-On for MySQL (Splunk_TA_mysql) v2.0.2 - two errors in default/props.conf

chris_barrett
SplunkTrust
SplunkTrust

The default/props.conf for v2.0.2 of the add-on contains two issues - both of which are generating WARNING messages in splunkd.log

Issue #1
 
[mysql:errorLog:mysqld_safe]
EXTRACT-queries_in_queue = (?<queries_in_queue>[\.\d]+) queries \in queue

I believe that the slash before the in was an attempt to stop the "in queue" being treated as the 'regex in field' format of an EXTRACT.
 
I believe that the line should read:
EXTRACT-queries_in_queue = (?<queries_in_queue>[\.\d]+) queries\sin\squeue
 
Issue #2
 
[mysql:processInfo]
FIELDALIAS-cim_builder = thd_id AS process user AS user
 
Splunk was generating the following warning:
WARN  FieldAliaser - Invalid field alias specification in stanza 'mysql:processInfo': FIELDALIAS-cim_builder='thd_id AS process user AS user'

I believe it's because of the redundant 'host AS host' and removing it in a local/props.conf appears to have confirmed this.
0 Karma

artemrys
Splunk Employee
Splunk Employee

Hello @chris_barrett ,

We are working on a new release of Splunk Add-on for MySQL and those issues will be fixed there. 

0 Karma

artemrys
Splunk Employee
Splunk Employee

MySQL v3.0.0 is released.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...