Reporting

Host is not available in Data Model (Web), but displays when using pivot from same Datamodel

gibronda
Explorer

NO RESULTS from the following:

| tstats summariesonly=false  count FROM datamodel=Web WHERE (Web.action=*block*)  by Web.action, Web.host, Web.src, Web.dest |rename Web.* as *|table action, host, src, dest

Results from this:

| tstats summariesonly=false  count FROM datamodel=Web WHERE (Web.action=*block*)  by Web.action, Web.src, Web.dest |rename Web.* as *|table action,  src, dest

Creating Pivot from the same Web datamodel displays host results:

| pivot Web Web count(Web) AS "Count of Web" SPLITROW dest AS Dest SPLITROW src AS Src SPLITROW host AS Host FILTER action is "block*" SORT 1000 dest ROWSUMMARY 0 COLSUMMARY 0 NUMCOLS 0 SHOWOTHER 1

We need the results from the datamodel to append to other results. Any assistance would be appreciated.

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...