i have multiple dabatases (>100) with the identic structure. For business-monitoring, i have about 80 queries which check information in the database. Now, i want to execute each of this queries on each of this databases and load the result into splunk. In splunk, is it possible to define the >100 database-connections once and the 80 queries once and then make some "magic" step to execute each statement on each database? I don't want to create a new connection for each combination of database and query.
Splunk: Execute the same query on multiple datasources
455 Views Asked by Thomas At
1
There are 1 best solutions below
Related Questions in DATABASE
- How to add the dynamic new rows from my registration form in my database?
- How to store a date/time in sqlite (or something similar to a date)
- Problem with add new attribute in table with BOTO3 on python
- When an E-R attribute should be perceived as a relationship attribute or as an entity set attribute?
- SQLAlchemy: efficient relationship loading in 3-way many-to-many relationship
- Cannot connect to Postgres Database when running Quarkus Tests with Gitlab ci
- Local or remote database with react-native?
- I want to edit a specific row in database
- How to enter data in mongodb array at specific position such that if there is only 2 data in array and I want to insert at 5, then rest data is null
- Open Web Library
- database login.py and register.py error showing 404 file not found and doesn't work
- SQL71561: SqlComputedColumn: When column selected
- Liquibase as SaaS To Configure Multiple Database as Dynamic
- Updated max input vars but table still shows error
- Spring does not map set of roles
Related Questions in SPLUNK
- Splunk query to return events when all the objects of an array where a field value is equal to some value
- How can I reuse a subsearch in splunk?
- docker inspect splunkImage Container ID: Warining: cannot create \"/opt/splunk/var/log/splunk
- How to Perform Index Search and Join Operation in Splunk Similar to Lookup Search Logic
- How to carry Last 24 hours value in time filter from one dashboard to another dashboard in Splunk
- Splunk timechart discrepancy
- How to obfuscate/redact OpenTelemetry logs using transform/attribute processor?
- Using splunk `searchmatch`
- Match regex named group up until optional word
- Splunk Truncated Date Comparison
- urlopen error [Errno 111] Connection refused while CURL works
- Connect to Splunk from DBeaver
- splunk-otel-collector heml chart in terraform
- Splunk - Rest API - Curl - Failing with Unbalanced Quotes
- React Component for splunk dont compile with error
Related Questions in SPLUNK-QUERY
- Splunk query to return events when all the objects of an array where a field value is equal to some value
- How can I reuse a subsearch in splunk?
- How to Perform Index Search and Join Operation in Splunk Similar to Lookup Search Logic
- Splunk timechart discrepancy
- Using splunk `searchmatch`
- Splunk Truncated Date Comparison
- Ifnull not working as expected in splunk query
- How to remove some blank rows from the display of two JSON data sets comparison in Splunk?
- Splunk records join on transaction-id
- Splunk Lookup search issue
- Splunk - I am using the Security Content search "Windows MSIExec Unregister DLLRegisterServer" but unable to add any exceptions based on origin DLL
- How can I parse a tfe_log to show what modules are being used?
- what do when we get a error in Splunk eval command
- Splunk result in Table format
- How to find and display unique and missing keys between two JSON object in Splunk?
Related Questions in DBCONNECT
- Warning: <BigQueryConnection> uses an old dbplyr interface
- How do I get R to find dbConnect function?
- Batch executing query in RPostgres returning same data
- Can't connect to SQLlite database
- py4j.protocol.Py4JJavaError when converting RDD to pyspark dataframe with dbconnect
- How can a java application running within a Fargate container connect to Aurora Postgresql db?
- I have 2 main dbs and i want to create one as a connection of those two
- DB Connect and workspace notebooks returns different results
- R teradata DBI:dbConnect() error: TimedOut: No response received when attempting to connect to the Teradata server
- dbConnect works in Rstudio.exe and RGui.exe but fails as an executable in RScript.exe
- error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': could not find function "MySQL"
- Call a C# function from MySQL
- How can I install the dbconnect module in Python?
- connecting to clickhouse in R
- R: NULL value passed as symbol address, error in .Call(RS_PostgreSQL_init, config.params, force) :
Related Questions in SPLUNK-HEC
- AWS Cloudwatch logs ingestion to splunk using hec
- Openshift and Splunk HEC integration for logging
- No fluent-plugin-splunk-hec plugin found while using splunk/fluentd-hec Docker image
- Splunk Cloud HEC endpoint address do not resolve
- How to batch the app events with max of 1000 events per second when using Splunk HTTP Event Collector (HEC)
- Splunk HEC sourcetype override mapping all events to a single transform
- Issue in sending python logs to Splunk using splunk_hec_handler
- Splunk query to retrieve value from json log event and get it in a table
- Splunk: Execute the same query on multiple datasources
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The only way Splunk has to connect to a database "itself" is via DB Connect (docs)
From Splunk's perspective, there is no way to connect to 100 databases without having unique connections to each.
So far as I know, there is no tool that will connect to more than one database without unique connections - that's something database servers enforce in transactional models.
That being said, if you have a way to enumerate all the databases you want to connect to, and a place to save the queries you want to run, you could build either a