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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...