I have been experimenting with Splunk, trying to emulate some basic functionality from the OSISoft PI Time Series database.
I have two data points that I wish to display trends for over time in order to compare fluctuations between them, specifically power network MW analogue tags.
In PI this is very easy to do, however I am having difficulty figuring out how to do it in Splunk.
How do I achieve this given the field values "SubstationA_T1_MW", & "SubstationA_T2_MW" in the field Tag
?
The fields involved are TimeStamp
, Tag
, Value
, and Status
Edit:
Sample Input and Output listed below:
I suspect you're going to be most interested in
timechart
for thisSomething along the following lines may get you towards what you're looking for:
timechart
relies on the internal, hidden_time
field (which is in Unix epoch time) - so if_time
doesn't matchTimeStamp
, you need theeval
statement I added to convert from yourTimeStamp
to Unix epoch time in_time
(which I've assumed is in mm/dd/yyyy format).Also, go take the free, self-paced Splunk Fundamentals 1 class