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!

What’s new on Splunk Lantern in August

This month’s Splunk Lantern update gives you the low-down on all of the articles we’ve published over the past ...

Welcome to the Future of Data Search & Exploration

You have more data coming at you than ever before. Over the next five years, the total amount of digital data ...

This Week's Community Digest - Splunk Community Happenings [8.3.22]

Get the latest news and updates from the Splunk Community here! News From Splunk Answers ✍️ Splunk Answers is ...