Splunk Search

reporting on underscore-prefixed fields

jspears
Communicator

How does one get at fields in _internal that are prefixed with an underscore, e.g. _tcp_KBps ? It seems that Splunk is masking these somehow, preventing them from being visible to stats, timechart, etc.

Tags (1)
1 Solution

sdaniels
Splunk Employee
Splunk Employee

If you want to look at the internal metrics log (index=_internal source="*metrics.log*") you should see the attributes show up (like kbps, kb, eps) and you'll have access to report on them. Not sure what exactly you are looking to report on but there are some great examples from our wiki below from the Deployment monitor. You'll also find that the Splunk on Splunk App (S.O.S.) gives you dashboard views on many internal metrics to give you a deeper look at how Splunk is performing.

http://wiki.splunk.com/Deploy:Splunk_Metric_Reports

View solution in original post

Ayn
Legend

Use eval to create "non-internal" fields out of them. These fields will be available to subsequent commands. Like this:

... | eval tcp_KBps=_tcp_KBps | ...

sdaniels
Splunk Employee
Splunk Employee

If you want to look at the internal metrics log (index=_internal source="*metrics.log*") you should see the attributes show up (like kbps, kb, eps) and you'll have access to report on them. Not sure what exactly you are looking to report on but there are some great examples from our wiki below from the Deployment monitor. You'll also find that the Splunk on Splunk App (S.O.S.) gives you dashboard views on many internal metrics to give you a deeper look at how Splunk is performing.

http://wiki.splunk.com/Deploy:Splunk_Metric_Reports

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...