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!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...