Hello, I want to use the results of my dbquery as search strings in the log files.
Currently I am running two different Splunk searches then copy find/replace and pasting the result from 1 to 2.
1:
|dbquery JiraDB "SELECT TOP 1000 [ID] FROM [jiraDB].[JIRA].[searchrequest] where [USERNAME] = 'dfredell'"
2:
sourcetype=access_log "14196" OR "17516" OR "17525" OR .....
The output from 1 has 300 items and looks like:
ID
14196
17516
17525
...
The data in access_log is a standard Apache Web Log and I am searching for the url to contain any of the ID values.
... View more