All Apps and Add-ons

How to create a chart with sub search results

cheukkay
Engager

Hey ,
I used sub search and manage to get the results i wanted , however , the splunk dashboard is creating my graphs wrongly. May i know how do i customize it to my needs?

My search command is :
sourcetype="honetnet" [search sourcetype ="honetnet" | top limit=10 SPT | fields SPT] |top limit=3 SRC BY SPT

whereby is search the top 10 SPT (source ports) and then i search the top 3 SRC (source ip addresses) that accessed this ports. But i cant seem to create charts with the results. Any idea? Thanks

0 Karma

jtrucks
Splunk Employee
Splunk Employee

Try using appendcols to merge the results together. I've had success with this in the past.

For example:

sourcetype="honetnet" | appendcols [search sourcetype ="honetnet" | top limit=10 SPT | fields SPT] |top limit=3 SRC BY SPT

That might work for you.

--
Jesse Trucks
Minister of Magic
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...