app.session.copy_spl_clicked |
Data collected when SPL generated using the app is copied with the "Copy" button. |
app: splunk_instrumentation
component: app.session.copy_spl_clicked
data: { [-]
app: Splunk_AI_Assistant_Cloud
page: dashboard
source: SAIA UI Telemetry
spl: index=_internal sourcetype=splunkd log_level=ERROR| timechart count| rename _time as Time, count as Count
}
|
app.Splunk_AI_Assistant |
Information including type, tenant, query, enabled_features, and request_id. |
{
'type': 'inference_spl_generation',
'tenant': 'saia-stg-custom',
'query': ' SAIA has expert knowledge of the Splunk platform and Splunk...',
'enabled_features': "['customization']",
'request_id' : c88bbad8-92ab-4851-ac5f-b417b984f53c
}
|
app.Splunk_AI_Assistant |
Information including tenant, and type. |
{
'type': 'customization_opt_in',
'tenant': 'saia-stg-custom'
}
|
app.Splunk_AI_Assistant.splgen |
Collects the chat_id. |
|
app.Splunk_AI_Assistant.splgen.feedback |
Information including enabled_features, feedback_id, and query. |
{
enabled_features : ['customization']
feedback_id : '4e618319-2276-4ae7-9436-ab2713735629'
query : 'List available indices'
}
|
app.Splunk_AI_Assistant_Cloud.splgen |
Logging from Splunk AI Assistant for SPL Splunk app REST handlers. |
2024-05-27 16:26:25 UTC, Level=INFO, Pid=1063271, Logger=ChatHistoryHandler, File=chat_history_handler.py, Line=43, UUID="34547aed-648c-4d3f-b2ce-f1ce066a57ad", message="Handling chat history request"
|
app.Splunk_AI_Assistant_Cloud.splgen |
Generation time. End to end (e2e) time from request start to end. |
2024-05-24 18:05:50 UTC, Level=INFO, Pid=2248783, Logger=AsyncHttpJobs, File=jobs.py, Line=87, UUID="4475f233-2559-42ee-b7ff-c2891ae0d549", apply_time="2.16974", user="haydn"
|
app.Splunk_AI_Assistant_Cloud.splgen.openinsearch |
When the user clicks on the "Open in Search" button for some generated SPL. |
{
"data": {
"_time": 1688763330,
"_sourcetype": "splgen_feedback",
"session_id": "1dd4af3e-a567-4d68-a491-75964913d868",
"spl": "'| rest splunk_server=local /services/cluster/master/peers | stats sum(bucket_count) by label | rename label as peer'",
"user": "<hashed username>",
"_kv": 1,
"_serial": 0 }
}
|
app.Splunk_AI_Assistant_Cloud.splgen.usage |
Feedback submitted by users with thumbs up/thumbs down/additional details UI in app. |
{
"data": {
"_time": 1688763330,
"response": "'Concise Summary:\nThe query retrieves the total number of buckets per peer in a Splunk cluster.\nDetailed Explanation:\n- `| rest splunk_server=local /services/cluster/master/peers`: This part of the query uses the REST command to access the local Splunk cluster master'",
"_sourcetype": "splgen_feedback",
"session_id": "1dd4af3e-a567-4d68-a491-75964913d868",
"query": "'| rest splunk_server=local /services/cluster/master/peers | stats sum(bucket_count) by label | rename label as peer'",
"correct": "true",
"_kv": 1,
"_serial": 0 }
}
|
inference_spl_generation
inference_spl_explanation
|
Natural language prompt entered by the user in user_prompt field and intermediate rag/metadata responses retrieved from the large language models (LLMs). |
{
'user_prompt' : "show storage freespace in winhostmon",
'retrieved_rag': ```search 'search index=windows sourcetype=WinHostMon Type=Disk | table host, Name, DriveType, TotalSpaceGB, FreeSpaceGB, FreeSpacePct | sort FreeSpacePct'```,
'retrieved_personalization_metadata': ['component', 'datetime', 'log_level', 'data.total_size', 'data.name', 'dns_alt_name', 'sh_label', 'data.total_bucket_count', 'data.bucket_dirs.cold.capacity', 'data.bucket_dirs.home.capacity'],
'generated_response': ``` index=windows sourcetype=WinHostMon Type=Disk | stats sum(FreeSpaceKB) as total_free_space by Name | eval total_free_space_GB = round(total_free_space / 1024 / 1024, 2) | table Name, total_free_space_GB ```
}
|
saia-tenant-id |
Hashed name of the tenant or stack ID. |
{
.....
saia-tenant-id: 1b366eb2-3dfa-520e-b353-8178af77cfbd
sourcetype: saia_api_event
}
|
stackID
userID
chat_id
app_version
|
Information collected from the StackID, UserID, ChatID, and App Version fields. |
{
stackID=CLOUD-7e42604c501e415b0b72b841bd788e84db49ea089713d9a5afe2a17d74e9b7a9,
userID=677ee9314a5407cfdb0a224f,
chat_id=0,
app_version="1.0.6",
}
|
job_id
user_key
user
chat_id
|
Information collected from the JobID, UserKey, User, and ChatID fields. |
....
request_id:
job_id=5637081e-ab41-432d-bce9-9f76c61c9b1c
user_key=677ee9314a5407cfdb0a224f
chat_id=0
user=2340314992997373707
}
|
input_word_count
input_char_count
output_word_count
output_char_count
|
Total numbers of the word and character counts for input and output responses. |
{
input_char_count: 115
input_word_count: 20
output_char_count: 1896
output_word_count: 236
}
|
source_app_id |
SourceAppID information. |
source_app_id: Splunk_AI_Assistant_Cloud_Custom
|
num_distinct_clusters
avg_clusters_per_srctype
avg_fields_per_cluster min_fields_per_cluster max_fields_per_cluster
|
Information collected on distinct clusters formed for each tenant, average number of clusters formed per sourcetype, average number of field lists collected per cluster, minimum number of fields per cluster, and maximum number of fields per cluster. |
{
num_distinct_clusters: 11
avg_clusters_per_srctype: 2
avg_fields_per_cluster: 4.5
min_fields_per_cluster: 1
max_fields_per_cluster: 139
}
|