Splunk Search

Splunk DB Connect: What is wrong with my SQL syntax to MySQL database that db monitor fails validation?

benjaminlin1019
Explorer

Is there anyone can tell me what's wrong with my SQL syntax to MySQL database is wrong that db monitor can't be saved.

SELECT * FROM database_name.mytext_table_name WHERE MATCH(mytext) AGAINST('some key words' IN BOOLEAN MODE) {{AND $rising_column$ > ? }}

Although I dump MySQL datetime column with these setting:
Timestamp column: textdate
format: yyyy-MM-dd HH:mm:ss

cron interval

0,5,10,15,20,25,30,35,40,45,50,55 * * * *

also why */5 * * * * doesn't work either?

0 Karma

benjaminlin1019
Explorer

Ok answer myself I know the problem is that we are using MariaDB 10 which is compatible with MySQL 5.6 and in the new version, they removed "SET OPTION" command in MySQL...gosh https://mariadb.atlassian.net/browse/MDEV-6201

but it can be resolved by using latest Java Connector however, we have trouble to use latest Java Connector

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...