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!

Routing Data to Different Splunk Indexes in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. The OpenTelemetry project is the second largest ...

Getting Started with AIOps: Event Correlation Basics and Alert Storm Detection in ...

Getting Started with AIOps:Event Correlation Basics and Alert Storm Detection in Splunk IT Service ...

Register to Attend BSides SPL 2022 - It's all Happening October 18!

Join like-minded individuals for technical sessions on everything Splunk!  This is a community-led and run ...