AnsweredAssumed Answered

Using filtering in profiler

Question asked by Samatnys on Apr 5, 2018
Latest reply on Apr 6, 2018 by Ujwol Shrestha

I'm looking for a straightforward explanation of what the filter tab does when configuring the profiler in smconsole.  What I'm trying to do is only log entries that contain data for 'domain, policy, rule, realm' fields.  I started with my smtracedefault.txt looking like this:

 

components: Login_Logout/Authentication, IsAuthorized/Policy_Evaluation

data: Date, Time, Domain, Realm, Policy, Rule

 

When using a policy server in lab and the smtesttool, and hitting IsProtected, IsAuthenticated and IsAuthroized buttons, my profile log looked like this:

 

[Date][Time][Domain][Realm][Policy][Rule]

[====][====][======][=====][======][====]

[04/03/2018][14:55:57][][][][]

[04/03/2018][14:55:57][OFT ws04 Development Policy Domain][Loadtest][][]

[04/03/2018][14:55:57][OFT ws04 Development Policy Domain][Loadtest][][]

[04/03/2018][14:55:59][][][][]

[04/03/2018][14:55:59][OFT ws04 Development Policy Domain][Loadtest][][]

[04/03/2018][14:55:59][][][][]

[04/03/2018][14:55:59][][][][]

[04/03/2018][14:55:59][][][][]

[04/03/2018][14:55:59][OFT ws04 Development Policy Domain][Loadtest][][]

[04/03/2018][14:55:59][][][][]

[04/03/2018][14:55:59][OFT ws04 Development Policy Domain][Loadtest][][]

[04/03/2018][14:55:59][OFT ws04 Development Policy Domain][Loadtest][][]

[04/03/2018][14:55:59][][][][]

[04/03/2018][14:55:59][][][][]

[04/03/2018][14:55:59][OFT ws04 Development Policy Domain][Loadtest][][]

[04/03/2018][14:56:00][][][][]

[04/03/2018][14:56:00][][][][]

[04/03/2018][14:56:00][][][][]

[04/03/2018][14:56:00][][][][]

[04/03/2018][14:56:00][OFT ws04 Development Policy Domain][Loadtest][][]

[04/03/2018][14:56:00][OFT ws04 Development Policy Domain][Loadtest][][]

[04/03/2018][14:56:00][OFT ws04 Development Policy Domain][][loadtest policy][]

[04/03/2018][14:56:00][OFT ws04 Development Policy Domain][][][loadtest rule]

[04/03/2018][14:56:00][OFT ws04 Development Policy Domain][][loadtest policy][]

[04/03/2018][14:56:00][OFT ws04 Development Policy Domain][][loadtest policy][loadtest rule]

[04/03/2018][14:56:00][][][][]

[04/03/2018][14:56:00][][][][]

[04/03/2018][14:56:00][][][][]

[04/03/2018][14:56:00][][][][]

[04/03/2018][14:56:00][][][][]

[04/03/2018][14:56:00][][][][]

[04/03/2018][14:56:00][][][][]

[04/03/2018][14:56:00][][][][]

[04/03/2018][14:56:00][][][][]

[04/03/2018][14:56:00][][][][]

[04/03/2018][14:56:00][][][][]

[04/03/2018][14:56:00][][][][]

[04/03/2018][14:56:00][][][][]

[04/03/2018][14:56:00][OFT ws04 Development Policy Domain][Loadtest][][]

[04/03/2018][14:56:00][OFT ws04 Development Policy Domain][Loadtest][][]

[04/03/2018][14:56:00][][][][]

[04/03/2018][14:56:00][OFT ws04 Development Policy Domain][Loadtest][][]

[04/03/2018][14:56:00][OFT ws04 Development Policy Domain][Loadtest][][]

[04/03/2018][14:56:00][][][][]

[04/03/2018][14:56:00][OFT ws04 Development Policy Domain][Loadtest][][]

 

It was at this point that I thought I could use the filter config to not print any of the log lines where all 4 entries were empty.  There doesn't appear to be any way to do this.  I opened a case and was told by the engineer that he couldn't get it to do that either.  And I could not get a good explanation of what is the functionality of the filter piece of the profiler config?  Is there any?  Is it just useless code that has lived on and no one noticed it should be removed?

 

Any insight would be appreciated.

Outcomes