You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The line "Attempting to access forbidden folder | /directory index of .*" is not accepted in to logentries.
$ cat web.txt
Attempting to access forbidden folder | /directory index of .* is forbidden
$ python le_auto-tag.py KEY web.txt
finding hosts
HOSTS
Traceback (most recent call last):
File "le_auto-tag.py", line 130, in
get_account_data()
File "le_auto-tag.py", line 16, in get_account_data
open_file()
File "le_auto-tag.py", line 42, in open_file
create_data(name,list_of_regex)
File "le_auto-tag.py", line 52, in create_data
label_id = create_label(name , color)
File "le_auto-tag.py", line 76, in create_label
response = urllib2.urlopen(req, json.dumps(request))
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(_args)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(_args)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 400: Bad request
The text was updated successfully, but these errors were encountered:
The line "Attempting to access forbidden folder | /directory index of .*" is not accepted in to logentries.
$ cat web.txt
Attempting to access forbidden folder | /directory index of .* is forbidden
$ python le_auto-tag.py KEY web.txt
finding hosts
HOSTS
Traceback (most recent call last):
File "le_auto-tag.py", line 130, in
get_account_data()
File "le_auto-tag.py", line 16, in get_account_data
open_file()
File "le_auto-tag.py", line 42, in open_file
create_data(name,list_of_regex)
File "le_auto-tag.py", line 52, in create_data
label_id = create_label(name , color)
File "le_auto-tag.py", line 76, in create_label
response = urllib2.urlopen(req, json.dumps(request))
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(_args)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(_args)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 400: Bad request
The text was updated successfully, but these errors were encountered: