Getting Data In

webping does't index all the content but part of it

royimad
Builder

Hello Guys,

I have setup webping app to monitor a web page and it's working fine, except for the option where i should enable index results - it index part of the page not all the page source.
if i show the source of my web page it show some

division in the page that doesn't exist on the index results on splunk. what could be the problem.?

Thanks

urls.conf

[PREPRODAPP]
url = https://mysite.mydomain.net/accesslogin.action
timeout = 600
userAgent = Mozilla/4.0
indexMD5 = true
indexResults= true

0 Karma
1 Solution

MuS
SplunkTrust
SplunkTrust

Hi royimad,

could it be that your webpage returns some strange characters which are handled in Splunk as line break and therefore your events are split in multiple events?

You can verify this by running the webmon script from the CLI like this:

$SPLUNK_HOME/bin/splunk cmd python $SPLUNK_HOME/etc/apps/PathToYourApp/bin/webmon.py

and verify the output.

cheers, MuS

View solution in original post

MuS
SplunkTrust
SplunkTrust

Hi royimad,

could it be that your webpage returns some strange characters which are handled in Splunk as line break and therefore your events are split in multiple events?

You can verify this by running the webmon script from the CLI like this:

$SPLUNK_HOME/bin/splunk cmd python $SPLUNK_HOME/etc/apps/PathToYourApp/bin/webmon.py

and verify the output.

cheers, MuS

royimad
Builder

It works:)!... instead of using webping.py i used webmon.py

0 Karma

royimad
Builder

hello, the web page didn't split into several events

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...