Splunk Search

facing issues when querying with cs_uri_stem

subhadipc
Explorer

I see a different web page mentioned in the body of indexed log and another mentioned in its cs_uri_stem. For example, if I search with host="trlpws003" AND "CustomReport.aspx", I get a list of matching records. Now, when I search with host="trlpws003" AND cs_uri_stem ="*CustomReport.aspx" I do not find those rows.

I need to find the response times of "CustomReport.aspx", but since cs_uri_stem ="CustomReport.aspx" is not working, I am not able to retrieve the same.

Please help.

Tags (1)
0 Karma

dmaislin_splunk
Splunk Employee
Splunk Employee

Paste some sample logs with that sample of data including he CustumReport.aspx entry.

0 Karma

Ayn
Legend

It sounds like the extraction of cs_uri_stem is faulty. This is what you need to fix. I can't give you more help than that without more detailed information on the logs you're processing and how you have configured Splunk to handle these logs.

0 Karma

subhadipc
Explorer

Hi Ayn,

When I use "CustomReport.aspx" as a free text query for searching purposes, I get rows, but their cs_uri_stem values are not "CustomReport.aspx". I get other aspx page names in the cs_uri_stem values for the extracted rows of the above query. This is vexing me, as I think that the rows returned from query with page names in free text should have their cs_uri_stem values reflecting the same.

Please help.

0 Karma

Ayn
Legend

Well what is the value for cs_uri_stem in the events that are returned when you just search for "CustomReport.aspx" in free text?

0 Karma
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...