Splunk Search

Trouble creating column chart based off 1 event

sam_
Engager

Hi,

I am attempting to create a simple column chart using JSON data from a single event.

The Rows{}.S03PERFC value represents a percent number... I have attempted to convert this but still can't seem to get it to display as a chart.

For some reason the fields are greyed out at the bottom.

Anything obvious I'm missing here?

sam__0-1624608708938.png

 

Labels (2)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

The clue is in the title - you only have one event. You should try expanding the Rows{} collection before extracting the fields within it

| spath output=Rows path=Rows{}
| mvexpand Rows
| spath input=Rows

View solution in original post

ITWhisperer
SplunkTrust
SplunkTrust

The clue is in the title - you only have one event. You should try expanding the Rows{} collection before extracting the fields within it

| spath output=Rows path=Rows{}
| mvexpand Rows
| spath input=Rows

sam_
Engager

Thanks @ITWhisperer  - that did the trick perfectly!

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...