You can use the following Splunk query to list all user agents in AWS ELB logs in JavaScript:
index.tsx76 chars5 lines
This query searches for the user_agent
field in ELB logs (which contains user agent information), filters out any empty values, and returns a table of unique user_agent
values. In order to specify that the logs are written in JavaScript, you need to include the appropriate sourcetype in your search. Example: sourcetype="aws:elb:accesslogs"
.
Hope this helps!
gistlibby LogSnag