The ChatGPT Integration for Splunk app brings OpenAI's advanced language model to Splunk. This app introduced a new custom command that allows you to pipe data into a prompt that can be answered by OpenAI's models.
How to use:
index=internal | stats count by useragent| chatgptevent field=useragent question='These are all useragent from the web. Can you organize them by which OS would be generating them?'