@ujju219 To use the Splunk Add-on for MySQL Database, you’ll need to configure appropriate permissions for the MySQL user. Here are the recommended steps: MySQL User Permissions: The MySQL user account used by the Splunk Add-on requires specific permissions to interact with the database. Assign the following permissions to the MySQL user: SELECT: Required for reading data from the MySQL database. SHOW DATABASES: Needed to list available databases. SHOW TABLES: Necessary to discover tables within a database. REPLICATION CLIENT: Required for reading binary logs (if applicable). EXECUTE: Needed for executing stored procedures (if used). Database-Specific Permissions: If you’re connecting to a specific database, grant additional permissions based on your use case: Read-Only Access:If the Splunk Add-on only needs to read data, grant read-only access to the specific database and tables. Write Access:If you plan to write data back to the database (e.g., summary index), grant appropriate write permissions. Host and Port Permissions: Ensure that the MySQL user has permission to connect from the host where the Splunk instance (heavy forwarder or indexer) is running. Grant access to the specific IP address or hostname of the Splunk server. Verify that the MySQL server allows connections on the specified port (usually 3306). Secure Credentials: Store the MySQL user credentials securely in Splunk. Use Splunk’s credential management system to avoid hardcoding credentials in configuration files. Splunk DB Connect Configuration: In Splunk, configure the Splunk DB Connect input to connect to the MySQL database using the MySQL user credentials. Specify the database name, hostname, port, and other relevant details. Test the Connection: After configuring the input, test the connection to ensure successful communication between Splunk and MySQL. Verify that data retrieval works as expected. Remember to document the permissions granted to the MySQL user and monitor the data collection process. If you encounter any issues, refer to the official Splunk documentation for additional guidance. https://docs.splunk.com/Documentation/AddOns/released/MySQL/Setup Configure Splunk DB Connect security and access controls - Splunk Documentationhttps://docs.splunk.com/Documentation/DBX/3.15.0/DeployDBX/Configuresecurityandaccesscontrols
... View more