Hello,
I am appending the file with outputcsv and then I would like to read it with inputcsv, however the last line only.
How would I do it?
Kind Regards,
Kamil
well you can try using tail
command?
https://docs.splunk.com/Documentation/Splunk/7.3.1/SearchReference/Tail
...| tail 1
which will give you only last line.
well you can try using tail
command?
https://docs.splunk.com/Documentation/Splunk/7.3.1/SearchReference/Tail
...| tail 1
which will give you only last line.
Use the tail command.
https://docs.splunk.com/Documentation/Splunk/7.3.1/SearchReference/Tail