Dashboards & Visualizations

Horizontally grouping modules without extra text/titles?

ahall_splunk
Splunk Employee
Splunk Employee

I want to be able to group 3 SingleValues modules horizontally, as part of a post-process, so I have:

stats count
Count
count

... repeated three times with different values after the grpX. I want to group these. I've tried module StaticContentSample, that requires a "text" field and always displays some text. I've also tried the GenericHeader, that requires a "label" field and always displays a header.

Is there a way to get the grouping without the associated text/label?

Tags (1)
0 Karma
1 Solution

ahall_splunk
Splunk Employee
Splunk Employee

Yeah - I thought of that, but that still produces a title based on the "group=" information.

I did find the information, which is to use NullModule

<module name="NullModule" layoutPanel="panel_row2_col1" autoRun="True">
<module name="HiddenPostProcess" layoutPanel="panel_row2_col1_grp1" autoRun="True">
...
</module>
<module name="HiddenPostProcess" layoutPanel="panel_row2_col1_grp2" autoRun="True">
...
</module>
</module>

View solution in original post

0 Karma

ahall_splunk
Splunk Employee
Splunk Employee

Yeah - I thought of that, but that still produces a title based on the "group=" information.

I did find the information, which is to use NullModule

<module name="NullModule" layoutPanel="panel_row2_col1" autoRun="True">
<module name="HiddenPostProcess" layoutPanel="panel_row2_col1_grp1" autoRun="True">
...
</module>
<module name="HiddenPostProcess" layoutPanel="panel_row2_col1_grp2" autoRun="True">
...
</module>
</module>
0 Karma

sideview
SplunkTrust
SplunkTrust

And again you really want to get those extra autoRun="True" attributes out of there. Leave only the topmost one on the NullModule.

0 Karma

sideview
SplunkTrust
SplunkTrust

just fyi, the "foo" title that comes from modules having group="foo" attributes is not related at all to the "grpN" part of the layoutPanel attributes. Maybe I'm missing something though.

0 Karma

hazekamp
Builder

We do something similar to this in ESS. You can use the layoutPanel format of "panel_rowX_colY_grpZ".

<module name="HiddenSavedSearch" layoutPanel="panel_row1_col1" autoRun="True" group="Notable Events by ESS Domain">
<param name="savedSearch">ESS - Notable Events by Domain</param>
<param name="useHistory">Auto</param>
<module name="SimpleResultsHeader">
  <param name="entityName">scanned</param>
  <param name="headerFormat">%(count)s events scanned $time$</param>
</module>
<module name="HiddenPostProcess" layoutPanel="panel_row1_col1_grp1">
  <param name="search">search security_domain=access | `notable_rangemap_access` | eval label="Access: ".count</param>
  <module name="EnablePreview">
    <param name="display">false</param>
    <param name="enable">true</param>
    <module name="SingleValue">
      <param name="field">label</param>
      <param name="classField">range</param>
      <param name="linkSearch">`notable` | search $statusToken$ $urgencyToken$ $securityDomainToken$ $governanceToken$ | search security_domain=access</param>
      <param name="linkView">incident_review</param>
    </module>
  </module>
</module>
<module name="HiddenPostProcess" layoutPanel="panel_row1_col1_grp2">
  <param name="search">search security_domain=endpoint | `notable_rangemap_endpoint` | eval label="Endpoint: ".count</param>
  <module name="EnablePreview">
    <param name="display">false</param>
    <param name="enable">true</param>
    <module name="SingleValue">
      <param name="field">label</param>
      <param name="classField">range</param>
      <param name="linkSearch">`notable` | search $statusToken$ $urgencyToken$ $securityDomainToken$ $governanceToken$ | search security_domain=endpoint</param>
      <param name="linkView">incident_review</param>
    </module>
  </module>
</module>
<module name="HiddenPostProcess" layoutPanel="panel_row1_col1_grp3">
  <param name="search">search security_domain=network | `notable_rangemap_network` | eval label="Network: ".count</param>
  <module name="EnablePreview">
    <param name="display">false</param>
    <param name="enable">true</param>
    <module name="SingleValue">
      <param name="field">label</param>
      <param name="classField">range</param>
      <param name="linkSearch">`notable` | search $statusToken$ $urgencyToken$ $securityDomainToken$ $governanceToken$ | search security_domain=network</param>
      <param name="linkView">incident_review</param>
    </module>
  </module>
</module>
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!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...