Quantcast
Channel: Latest Questions on Splunk Answers
Viewing all articles
Browse latest Browse all 13053

Correlate between two source and displaying them on timechart (line)

$
0
0

I am tasked to correlate between two source (below) and displaying them on a timechart (line). Anyone has any idea how to do that ? I have got sourcetype="CurrentWeatherSGMap" and sourcetype="ltaTraffic" with the following data. What data will be best to correlate, I was thinking on count of Incidents and count of Rain and display a line chart showing the how weather can affect traffic incidents. Anyone has ideas to guide me along ? Thanks in advance !

<entry> <id>http://datamall.mytransport.sg/LTAoDataService.svc/IncidentSet(2890113)</id> <title type="text">(10/7)16:34 Heavy Traffic on CTE (towards SLE) between Merchant Rd Exit and Moulmein Rd Exit.</title> <summary type="text"></summary> <updated>2013-07-10T10:10:28Z</updated> <author> <name/> </author> <link rel="edit" title="Incident" href="IncidentSet(2890113)"/> <category term="LTAModel.Incident" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/> <content type="application/xml"> <m:properties> <d:incidentid m:type="Edm.Int32">2890113</d:incidentid> <d:message>(10/7)16:34 Heavy Traffic on CTE (towards SLE) between Merchant Rd Exit and Moulmein Rd Exit.</d:message> <d:latitude m:type="Edm.Double">1.3214362736951211</d:latitude> <d:longitude m:type="Edm.Double">103.85607307663071</d:longitude> <d:type>Heavy Traffic</d:type> <d:summary m:null="true"/> <d:createdate m:type="Edm.DateTime">2013-07-10T10:06:05.277</d:createdate> <d:distance m:type="Edm.Double">0</d:distance> </m:properties> </content> <geo:lat xmlns:geo="http://www.georss.org/georss">1.3214362736951211</geo:lat> <geo:long xmlns:geo="http://www.georss.org/georss">103.85607307663071</geo:long> </entry>

and this

<updated>2013-07-10T10:05:51Z</updated> <author> <name/> </author> <link rel="edit" title="Nowcast" href="NowcastSet(1317369)"/> <category term="NEAModel.Nowcast" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/> <content type="application/xml"> <m:properties> <d:nowcastid m:type="Edm.Int32">1317369</d:nowcastid> <d:area>Woodlands</d:area> <d:condition>Partly Cloudy</d:condition> <d:latitude m:type="Edm.Double">1.44043052</d:latitude> <d:longitude m:type="Edm.Double">103.7878418</d:longitude> <d:summary>Partly Cloudy</d:summary> <d:distance m:type="Edm.Double">0</d:distance>


Viewing all articles
Browse latest Browse all 13053

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>