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!

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 ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2026-2027 SplunkTrust is officially open. If ...