An application that calls OpenAI using the result of a Splunk search command and sends a prompt
Built by
Latest Version 1.0.2
July 11, 2025
Compatibility
This is compatibility for the latest version
Not Available
Platform Version: 9.4
Rating
0
(0)
Log in to rate this app
Support
Not Supported
Ranking
#22
in Artificial Intelligence
An application that calls OpenAI using the result of a Splunk search command and sends a prompt
# Pre-work
- install python-dotenv
$SPLUNK_HOME/bin/splunk cmd python3 -m pip install python-dotenv
- update splunk_app_for_openai/bin/.env
update env file
```
OPENAI_API_KEY=
OPENAI_MODEL=gpt-4o-mini #select prefer model
OPENAI_API_BASE=https://api.openai.com/v1
```
# how to use
| makeresults
| eval question="What is MITRE ATT&CK?"
| callopenai prompt="{question}"
# other
if you have any question, please feel to free below repo.
https://github.com/saeoshi/splunk_app_for_openai