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
Legend

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
Legend

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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...