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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...