Splunk Search

chart by 2 fields

schufi01
Path Finder

Hi,

is there a possibility to create a chart by these two fields? If possible I would like to create a heatmap out of this chart.

| eval error= if(count>50, 1, 0)
| chart sum(error) by cpwd_nr
| chart sum(error) by host

 

Labels (1)
0 Karma
1 Solution

jodonald
Explorer

you could use |stats instead of |chart.

 

| eval error= if(count>50, 1, 0)
| stats sum(error) by cpwd_nr, host

View solution in original post

0 Karma

jodonald
Explorer

you could use |stats instead of |chart.

 

| eval error= if(count>50, 1, 0)
| stats sum(error) by cpwd_nr, host
0 Karma
Get Updates on the Splunk Community!

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

New Release | Splunk Cloud Platform 10.1.2507

Hello Splunk Community!We are thrilled to announce the General Availability of Splunk Cloud Platform 10.1.2507 ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

🗣 You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...