All Apps and Add-ons

PingFederate does not set eventtype correctly for logs

tomaszpiekos
Explorer

Hi,

I have a weird thing in my splunk.

query one :

index=index1 eventtype="*.sso.*" saml.host1.domain.local

result -> 3 events

query two:

index=index1 saml.host1.domain.local.

result -> 6 events.

All 6 events match eventtype :

[idp.sso.success]
search = source=*audit.log event="SSO" AND role="IdP" AND status="success"

But just some of them have eventtype=idp.sso.success.

Somehow source=*audit.log makes mess here... Despite it is the same for all these logs it does not match idp.sso.success search.
Moreover all these events come form one file and just for half of them eventtype=idp.sso.success.

Could anybody help ?

Splunk version is 6.5.2.

Thanks

0 Karma
1 Solution

tomaszpiekos
Explorer

solved by changing :
[idp.sso.success]
search = source=audit.log event="SSO" AND role="IdP" AND status="success"
to
[idp.sso.success]
search = source=*audit.log
event="SSO" AND role="IdP" AND status="success"

No clue why but sometimes source had a whitespace at the end added by splunk.

View solution in original post

0 Karma

tomaszpiekos
Explorer

solved by changing :
[idp.sso.success]
search = source=audit.log event="SSO" AND role="IdP" AND status="success"
to
[idp.sso.success]
search = source=*audit.log
event="SSO" AND role="IdP" AND status="success"

No clue why but sometimes source had a whitespace at the end added by splunk.

0 Karma

tomaszpiekos
Explorer

should be : search = source=*audit.log*

0 Karma

amksa
Explorer

Thanks tomaszpiekos , that is the exactly what I did "audit.log* and it worked!

0 Karma
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...