Go to main content

Using Oracle® Solaris 11.4 StatsStore and System Web Interface

Exit Print View

Updated: November 2020
 
 

Match Values

The op.filter operation returns only data values that match the filter argument. The filter argument is one of the following types:

  • Numeric

  • String

  • Key=value pair

The following example shows times when no bytes were received:

$ sstore export \
> //:class.link/phys//:res.name/net0//:stat.in-bytes//:op.rate//:op.filter(0)
TIME                VALUE IDENTIFIER
2020-08-04T20:47:07 0.0 //:class.link/phys//:res.name/net0//:stat.in-bytes//:op.rate//:op.filter(0)
2020-08-04T20:47:12 0.0 //:class.link/phys//:res.name/net0//:stat.in-bytes//:op.rate//:op.filter(0)
2020-08-04T20:47:24 0.0 //:class.link/phys//:res.name/net0//:stat.in-bytes//:op.rate//:op.filter(0)
2020-08-04T20:47:33 0.0 //:class.link/phys//:res.name/net0//:stat.in-bytes//:op.rate//:op.filter(0)

The following example uses two key=value pairs to show a summary of an event in which user usr1 successfully restarted the svc:/system/webui/server:default service on the system named host1:

$ sstore export \
> //:class.event//:event.adm-action//:op.filter(fmri/value=svc:/system/webui/server,event=AUE_smf_restart)//:fmt.summary
TIME                VALUE IDENTIFIER
2016-06-11T19:09:01  //:class.event//:event.adm-action//:op.filter(fmri/value=svc:/system/webui/server, event=AUE_smf_restart)//:fmt.summary
                    0:
                        ts: 1465697341080424
                        label: restart service instance
                        description: usr1 (usr1:staff) success restart service instance on host1
                        tags: ('solaris/sys',)
                        status: success