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!

Kick the Tires Before You Commit: A Hands-On Tour of the Splunk Observability Cloud ...

Evaluating an enterprise observability platform usually goes like this: fill out a form, get a free trial with ...

Deep insights, no barriers: Splunk Observability Cloud Free Edition

As software delivery cycles continue to accelerate, observability shouldn’t be a luxury — it should be a ...

Monitoring AI Agents with Splunk Observability Cloud

Let’s say I’m running a travel planning AI app in production. A user asks for three concise hotel options in ...