Splunk Search

Create table and chart with different fields

hRun
Path Finder

Hello everyone,

I'm using splunk for logfile analysis and what I'm trying to do is generating a report including chart and table, but with different fields displayed.
If I try this:

... | table probability_of_portscan, number_of_connections, timespan, duration_in_seconds, src, dst, dst_ports | chart values(number_of_connections) OVER src BY probability_of_portscan

I get the chart I want, but with its correlating table, not the table I defined.

Each of the commands itself gives me what I want, but I can't figure out, how to get the table AND the chart I defined.
Any suggestions for combining the commands, apparently piping doesn't work?

0 Karma
1 Solution

gfuente
Motivator

Hello

I guess you should create a new dashboard with two panels inside, one for the table and other one for the chart, then you will get all the info in the same screen

Regards

View solution in original post

gfuente
Motivator

Hello

I guess you should create a new dashboard with two panels inside, one for the table and other one for the chart, then you will get all the info in the same screen

Regards

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Casting Call: Compete in Cyber Games

Lights, Camera, SecOps: Apply to Compete in Cyber Games     Think you have what it takes to beat the clock? ...

Data Management Digest – June 2026

Welcome to the June 2026 edition of Data Management Digest! This month’s update is short and sweet, with a ...

Think Like an Architect: Introducing the Splunk Certified Cybersecurity Defense ...

In cybersecurity, defenders respond to threats. Architects design the systems that stop them.    As ...