Splunk Search

Transpose command causes other columns to be displayed as rows?

rkassabov
Path Finder

I am having issues with the QuestionText fields in my query below. I am trying to take all the QuestionText entries and display them as columns, however after transposing those fields, the other columns I had listed for my table have become rows. How can I transpose the QuestionText fields while keeping my other columns and not getting that mysterious "column" at the beginning of my table? See below:

index=xxx source=xxx   
| dedup QuestionID 
| eval QuestionText= SectionTitle + " " + QuestionText 
| sort QuestionID 
| table "Date Created" "Created By" "Vendor Name" "Risk Rank ID" Criticality "Risk Rank Score" QuestionText QuestionAnswer 
| transpose 0 header_field=QuestionText

alt text

Tags (1)
0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...