Getting Data In

Proper syntax for urls.conf with multiple URLs

sliderCO
Explorer

Can someone clarify the syntax for multiple urls in the urls.conf file please for the WebMon?
The app is only picking up the last url in my file. The examples show brackets around the url name/title but I saw that there were no brackets in the earlier version.

My Site 1

url = http://www.site1.com

timeout = 30

userAgent = Mozilla/4.0

My Site 2

url = http://www.site2.com

timeout = 30

userAgent = Mozilla/4.0

My Site 3

url = http://www.site3.com

timeout = 30

userAgent = Mozilla/4.0

My site 4

url = http://www.site4.com

timeout = 30

userAgent = Mozilla/4.0

Thanks!

0 Karma

dearimranz
Engager

Hi, it might be that you have found the answer but I had the same problem. I think, I solved it by making a script called "webmon_handler.py" executable which is not executable by default.

0 Karma

splunktest_ng
New Member

Hi,
Can you pl help on how to configure webmon.
I did modify urls.conf but I cant see any data coming in. should the useragent be changed?
I am using IE 9

0 Karma

sliderCO
Explorer

For example:

[Site 1 CoolSite]
url = http://www.website1.com
timeout = 30
userAgent = Mozilla/4.0
[Site 2 CoolerSite]
url = http://www.website2.com
timeout = 30
userAgent = Mozilla/4.0
0 Karma

Blu3fish
Path Finder

Out of curiosity have you, or anyone else, figured out a way of specifying multiple pages under a given subdirectory as a single definition in urls.conf?

Such that
url = http://www.website.com/a/1
...
url = http://www.website.com/a/2

could be defined as
url = http://www.website.com/a/

because that'd be handy (whitelisting filetypes would too but we may have to wait for that one).

0 Karma

sliderCO
Explorer

I got it! The brackets are required for each URL or "ping_name" as it is referred to in the app.

0 Karma
Get Updates on the Splunk Community!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...