Getting Data In

Pretrained source type for PI log files

pytb
Explorer

Hi,
Is there a pretrained source type for .dat OSIsoft PI log files ?
I know I can create a .csv file manually from the .dat file, then use the .csv file in Splunk but I would like to read the logfiles directly without this extra manual step.
Thanks in advance

Tags (1)
0 Karma

pytb
Explorer

One of my collegues showed me a way to run the csv conversion from a command prompt:

pigetmsg -if "pimsg_1131112.dat" -st "1-jan-1971" -et * -fc > pimsg_1131112.csv

pigetmsg is part of the PI SMT (System Management Tools). It's in the adm folder.

0 Karma
Get Updates on the Splunk Community!

Splunk MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...